@slotted/angular 0.0.0-stage → 0.1.0-beta.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 (793) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +51 -2
  3. package/docs/AGENTS.snippet.md +10 -0
  4. package/docs/accordion.json +345 -0
  5. package/docs/accordion.md +207 -0
  6. package/docs/action-bar.json +421 -0
  7. package/docs/action-bar.md +364 -0
  8. package/docs/action-sheet.json +210 -0
  9. package/docs/action-sheet.md +19 -0
  10. package/docs/alert.json +407 -0
  11. package/docs/alert.md +239 -0
  12. package/docs/app-shell.examples.md +349 -0
  13. package/docs/app-shell.json +835 -0
  14. package/docs/app-shell.md +214 -0
  15. package/docs/aspect-ratio.json +159 -0
  16. package/docs/aspect-ratio.md +134 -0
  17. package/docs/attachment.json +486 -0
  18. package/docs/attachment.md +253 -0
  19. package/docs/avatar-group.json +208 -0
  20. package/docs/avatar-group.md +130 -0
  21. package/docs/avatar.json +342 -0
  22. package/docs/avatar.md +142 -0
  23. package/docs/badge.json +334 -0
  24. package/docs/badge.md +138 -0
  25. package/docs/breadcrumb.json +368 -0
  26. package/docs/breadcrumb.md +237 -0
  27. package/docs/button-group.json +158 -0
  28. package/docs/button-group.md +72 -0
  29. package/docs/button.examples.md +621 -0
  30. package/docs/button.json +977 -0
  31. package/docs/button.md +200 -0
  32. package/docs/calendar.json +592 -0
  33. package/docs/calendar.md +242 -0
  34. package/docs/card.json +283 -0
  35. package/docs/card.md +130 -0
  36. package/docs/carousel.json +560 -0
  37. package/docs/carousel.md +357 -0
  38. package/docs/cascader.json +933 -0
  39. package/docs/cascader.md +379 -0
  40. package/docs/chart.examples.md +582 -0
  41. package/docs/chart.json +1359 -0
  42. package/docs/chart.md +187 -0
  43. package/docs/checkbox-group.examples.md +612 -0
  44. package/docs/checkbox-group.json +395 -0
  45. package/docs/checkbox-group.md +106 -0
  46. package/docs/checkbox.examples.md +546 -0
  47. package/docs/checkbox.json +506 -0
  48. package/docs/checkbox.md +104 -0
  49. package/docs/code-block.json +616 -0
  50. package/docs/code-block.md +303 -0
  51. package/docs/collapsible.json +456 -0
  52. package/docs/collapsible.md +261 -0
  53. package/docs/color-picker.json +523 -0
  54. package/docs/color-picker.md +201 -0
  55. package/docs/column-manager.json +486 -0
  56. package/docs/column-manager.md +277 -0
  57. package/docs/combobox.examples.md +1732 -0
  58. package/docs/combobox.json +1250 -0
  59. package/docs/combobox.md +209 -0
  60. package/docs/command-palette.json +800 -0
  61. package/docs/command-palette.md +419 -0
  62. package/docs/container.json +156 -0
  63. package/docs/container.md +92 -0
  64. package/docs/context-menu.json +231 -0
  65. package/docs/context-menu.md +176 -0
  66. package/docs/currency-field.examples.md +321 -0
  67. package/docs/currency-field.json +649 -0
  68. package/docs/currency-field.md +128 -0
  69. package/docs/dashboard-grid.json +680 -0
  70. package/docs/dashboard-grid.md +265 -0
  71. package/docs/data-grid.examples.md +3064 -0
  72. package/docs/data-grid.json +1577 -0
  73. package/docs/data-grid.md +237 -0
  74. package/docs/data-grid.props.md +81 -0
  75. package/docs/data-list.json +685 -0
  76. package/docs/data-list.md +327 -0
  77. package/docs/date-field.json +490 -0
  78. package/docs/date-field.md +235 -0
  79. package/docs/date-picker.examples.md +1226 -0
  80. package/docs/date-picker.json +696 -0
  81. package/docs/date-picker.md +121 -0
  82. package/docs/date-range-picker.examples.md +1300 -0
  83. package/docs/date-range-picker.json +903 -0
  84. package/docs/date-range-picker.md +142 -0
  85. package/docs/datetime-field.json +665 -0
  86. package/docs/datetime-field.md +337 -0
  87. package/docs/datetime-picker.examples.md +1269 -0
  88. package/docs/datetime-picker.json +928 -0
  89. package/docs/datetime-picker.md +150 -0
  90. package/docs/datetime-range-picker.examples.md +225 -0
  91. package/docs/datetime-range-picker.json +1015 -0
  92. package/docs/datetime-range-picker.md +162 -0
  93. package/docs/description-list.json +471 -0
  94. package/docs/description-list.md +268 -0
  95. package/docs/detail-panel.json +530 -0
  96. package/docs/detail-panel.md +361 -0
  97. package/docs/dialog.examples.md +2467 -0
  98. package/docs/dialog.json +1141 -0
  99. package/docs/dialog.md +217 -0
  100. package/docs/dialog.props.md +63 -0
  101. package/docs/divider.json +148 -0
  102. package/docs/divider.md +83 -0
  103. package/docs/drawer.examples.md +1929 -0
  104. package/docs/drawer.json +753 -0
  105. package/docs/drawer.md +199 -0
  106. package/docs/entity-picker.json +946 -0
  107. package/docs/entity-picker.md +365 -0
  108. package/docs/event-calendar.examples.md +308 -0
  109. package/docs/event-calendar.json +1202 -0
  110. package/docs/event-calendar.md +201 -0
  111. package/docs/field-group.json +333 -0
  112. package/docs/field-group.md +181 -0
  113. package/docs/field.examples.md +676 -0
  114. package/docs/field.json +528 -0
  115. package/docs/field.md +127 -0
  116. package/docs/filter-bar.json +817 -0
  117. package/docs/filter-bar.md +380 -0
  118. package/docs/form.json +378 -0
  119. package/docs/form.md +235 -0
  120. package/docs/fullscreen.json +395 -0
  121. package/docs/fullscreen.md +225 -0
  122. package/docs/grid.json +176 -0
  123. package/docs/grid.md +74 -0
  124. package/docs/highlight.json +279 -0
  125. package/docs/highlight.md +210 -0
  126. package/docs/hover-card.json +254 -0
  127. package/docs/hover-card.md +213 -0
  128. package/docs/icon.json +173 -0
  129. package/docs/icon.md +101 -0
  130. package/docs/image.json +476 -0
  131. package/docs/image.md +254 -0
  132. package/docs/import-export-center.json +836 -0
  133. package/docs/import-export-center.md +345 -0
  134. package/docs/index.md +141 -0
  135. package/docs/inline-message.json +312 -0
  136. package/docs/inline-message.md +191 -0
  137. package/docs/inline.json +149 -0
  138. package/docs/inline.md +72 -0
  139. package/docs/kbd.json +350 -0
  140. package/docs/kbd.md +210 -0
  141. package/docs/link.json +264 -0
  142. package/docs/link.md +167 -0
  143. package/docs/list-item.json +463 -0
  144. package/docs/list-item.md +236 -0
  145. package/docs/list.json +321 -0
  146. package/docs/list.md +185 -0
  147. package/docs/listbox.json +807 -0
  148. package/docs/listbox.md +413 -0
  149. package/docs/loading-overlay.json +440 -0
  150. package/docs/loading-overlay.md +248 -0
  151. package/docs/markdown.json +461 -0
  152. package/docs/markdown.md +266 -0
  153. package/docs/menu.examples.md +1651 -0
  154. package/docs/menu.json +922 -0
  155. package/docs/menu.md +155 -0
  156. package/docs/menubar.json +292 -0
  157. package/docs/menubar.md +173 -0
  158. package/docs/message-scroller.json +401 -0
  159. package/docs/message-scroller.md +212 -0
  160. package/docs/message.json +862 -0
  161. package/docs/message.md +473 -0
  162. package/docs/multi-select.examples.md +1922 -0
  163. package/docs/multi-select.json +1314 -0
  164. package/docs/multi-select.md +213 -0
  165. package/docs/navigation-menu.json +529 -0
  166. package/docs/navigation-menu.md +329 -0
  167. package/docs/notification-center.json +664 -0
  168. package/docs/notification-center.md +372 -0
  169. package/docs/number-field.examples.md +1078 -0
  170. package/docs/number-field.json +668 -0
  171. package/docs/number-field.md +137 -0
  172. package/docs/otp-input.json +479 -0
  173. package/docs/otp-input.md +291 -0
  174. package/docs/page-header.json +574 -0
  175. package/docs/page-header.md +338 -0
  176. package/docs/page.json +332 -0
  177. package/docs/page.md +184 -0
  178. package/docs/pagination.json +434 -0
  179. package/docs/pagination.md +238 -0
  180. package/docs/popover.examples.md +1235 -0
  181. package/docs/popover.json +656 -0
  182. package/docs/popover.md +199 -0
  183. package/docs/progress-indicator.json +501 -0
  184. package/docs/progress-indicator.md +329 -0
  185. package/docs/prompt-composer.json +498 -0
  186. package/docs/prompt-composer.md +278 -0
  187. package/docs/prose.json +357 -0
  188. package/docs/prose.md +226 -0
  189. package/docs/radio-group.examples.md +626 -0
  190. package/docs/radio-group.json +541 -0
  191. package/docs/radio-group.md +112 -0
  192. package/docs/rating.json +1053 -0
  193. package/docs/rating.md +435 -0
  194. package/docs/result-state.json +376 -0
  195. package/docs/result-state.md +286 -0
  196. package/docs/saved-views.json +384 -0
  197. package/docs/saved-views.md +242 -0
  198. package/docs/scroll-area.json +120 -0
  199. package/docs/scroll-area.md +8 -0
  200. package/docs/section.json +344 -0
  201. package/docs/section.md +208 -0
  202. package/docs/segmented-control.json +429 -0
  203. package/docs/segmented-control.md +240 -0
  204. package/docs/select.examples.md +1214 -0
  205. package/docs/select.json +1147 -0
  206. package/docs/select.md +199 -0
  207. package/docs/side-navigation.json +632 -0
  208. package/docs/side-navigation.md +430 -0
  209. package/docs/skeleton.json +358 -0
  210. package/docs/skeleton.md +223 -0
  211. package/docs/slider.json +522 -0
  212. package/docs/slider.md +261 -0
  213. package/docs/sparkline.json +426 -0
  214. package/docs/sparkline.md +206 -0
  215. package/docs/split-button.json +361 -0
  216. package/docs/split-button.md +275 -0
  217. package/docs/splitter.json +142 -0
  218. package/docs/splitter.md +14 -0
  219. package/docs/stack.json +135 -0
  220. package/docs/stack.md +74 -0
  221. package/docs/stat-card.json +529 -0
  222. package/docs/stat-card.md +270 -0
  223. package/docs/status-indicator.json +314 -0
  224. package/docs/status-indicator.md +197 -0
  225. package/docs/stepper.json +451 -0
  226. package/docs/stepper.md +250 -0
  227. package/docs/switch.json +451 -0
  228. package/docs/switch.md +508 -0
  229. package/docs/table-of-contents.json +553 -0
  230. package/docs/table-of-contents.md +289 -0
  231. package/docs/table.examples.md +1981 -0
  232. package/docs/table.json +1059 -0
  233. package/docs/table.md +290 -0
  234. package/docs/tabs.examples.md +1370 -0
  235. package/docs/tabs.json +661 -0
  236. package/docs/tabs.md +211 -0
  237. package/docs/tag.json +813 -0
  238. package/docs/tag.md +241 -0
  239. package/docs/tags-input.json +771 -0
  240. package/docs/tags-input.md +361 -0
  241. package/docs/text-field.examples.md +821 -0
  242. package/docs/text-field.json +604 -0
  243. package/docs/text-field.md +125 -0
  244. package/docs/textarea.examples.md +612 -0
  245. package/docs/textarea.json +440 -0
  246. package/docs/textarea.md +98 -0
  247. package/docs/time-field.json +584 -0
  248. package/docs/time-field.md +291 -0
  249. package/docs/time-picker.json +679 -0
  250. package/docs/time-picker.md +315 -0
  251. package/docs/time-range-picker.examples.md +191 -0
  252. package/docs/time-range-picker.json +924 -0
  253. package/docs/time-range-picker.md +152 -0
  254. package/docs/timeline.json +839 -0
  255. package/docs/timeline.md +401 -0
  256. package/docs/toast.json +642 -0
  257. package/docs/toast.md +311 -0
  258. package/docs/toggle-group.json +417 -0
  259. package/docs/toggle-group.md +255 -0
  260. package/docs/toggle.json +326 -0
  261. package/docs/toggle.md +222 -0
  262. package/docs/toolbar.json +380 -0
  263. package/docs/toolbar.md +240 -0
  264. package/docs/tooltip.examples.md +664 -0
  265. package/docs/tooltip.json +604 -0
  266. package/docs/tooltip.md +146 -0
  267. package/docs/top-navigation.examples.md +287 -0
  268. package/docs/top-navigation.json +648 -0
  269. package/docs/top-navigation.md +138 -0
  270. package/docs/tour.json +759 -0
  271. package/docs/tour.md +337 -0
  272. package/docs/transfer.json +746 -0
  273. package/docs/transfer.md +273 -0
  274. package/docs/tree.json +918 -0
  275. package/docs/tree.md +397 -0
  276. package/docs/typography.json +317 -0
  277. package/docs/typography.md +107 -0
  278. package/docs/upload.examples.md +358 -0
  279. package/docs/upload.json +1103 -0
  280. package/docs/upload.md +166 -0
  281. package/docs/visually-hidden.json +71 -0
  282. package/docs/visually-hidden.md +42 -0
  283. package/docs/wizard.json +724 -0
  284. package/docs/wizard.md +295 -0
  285. package/fesm2022/slotted-angular-accordion.mjs +247 -0
  286. package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
  287. package/fesm2022/slotted-angular-action-bar.mjs +639 -0
  288. package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
  289. package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
  290. package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
  291. package/fesm2022/slotted-angular-alert.mjs +427 -0
  292. package/fesm2022/slotted-angular-alert.mjs.map +1 -0
  293. package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
  294. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
  295. package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
  296. package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
  297. package/fesm2022/slotted-angular-attachment.mjs +595 -0
  298. package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
  299. package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
  300. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
  301. package/fesm2022/slotted-angular-avatar.mjs +330 -0
  302. package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
  303. package/fesm2022/slotted-angular-badge.mjs +255 -0
  304. package/fesm2022/slotted-angular-badge.mjs.map +1 -0
  305. package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
  306. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
  307. package/fesm2022/slotted-angular-button-group.mjs +146 -0
  308. package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
  309. package/fesm2022/slotted-angular-button.mjs +692 -0
  310. package/fesm2022/slotted-angular-button.mjs.map +1 -0
  311. package/fesm2022/slotted-angular-calendar.mjs +916 -0
  312. package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
  313. package/fesm2022/slotted-angular-card.mjs +225 -0
  314. package/fesm2022/slotted-angular-card.mjs.map +1 -0
  315. package/fesm2022/slotted-angular-carousel.mjs +840 -0
  316. package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
  317. package/fesm2022/slotted-angular-cascader.mjs +1839 -0
  318. package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
  319. package/fesm2022/slotted-angular-chart.mjs +974 -0
  320. package/fesm2022/slotted-angular-chart.mjs.map +1 -0
  321. package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
  322. package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
  323. package/fesm2022/slotted-angular-checkbox.mjs +468 -0
  324. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
  325. package/fesm2022/slotted-angular-code-block.mjs +476 -0
  326. package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
  327. package/fesm2022/slotted-angular-collapsible.mjs +479 -0
  328. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
  329. package/fesm2022/slotted-angular-color-picker.mjs +910 -0
  330. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
  331. package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
  332. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
  333. package/fesm2022/slotted-angular-combobox.mjs +1480 -0
  334. package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
  335. package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
  336. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
  337. package/fesm2022/slotted-angular-container.mjs +105 -0
  338. package/fesm2022/slotted-angular-container.mjs.map +1 -0
  339. package/fesm2022/slotted-angular-context-menu.mjs +221 -0
  340. package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
  341. package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
  342. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
  343. package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
  344. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
  345. package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
  346. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
  347. package/fesm2022/slotted-angular-data-list.mjs +1418 -0
  348. package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
  349. package/fesm2022/slotted-angular-date-field.mjs +772 -0
  350. package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
  351. package/fesm2022/slotted-angular-date-picker.mjs +690 -0
  352. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
  353. package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
  354. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
  355. package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
  356. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
  357. package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
  358. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
  359. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
  360. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
  361. package/fesm2022/slotted-angular-description-list.mjs +545 -0
  362. package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
  363. package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
  364. package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
  365. package/fesm2022/slotted-angular-dialog.mjs +980 -0
  366. package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
  367. package/fesm2022/slotted-angular-divider.mjs +76 -0
  368. package/fesm2022/slotted-angular-divider.mjs.map +1 -0
  369. package/fesm2022/slotted-angular-drawer.mjs +1397 -0
  370. package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
  371. package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
  372. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
  373. package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
  374. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
  375. package/fesm2022/slotted-angular-field-group.mjs +301 -0
  376. package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
  377. package/fesm2022/slotted-angular-field.mjs +928 -0
  378. package/fesm2022/slotted-angular-field.mjs.map +1 -0
  379. package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
  380. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
  381. package/fesm2022/slotted-angular-form.mjs +592 -0
  382. package/fesm2022/slotted-angular-form.mjs.map +1 -0
  383. package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
  384. package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
  385. package/fesm2022/slotted-angular-grid.mjs +58 -0
  386. package/fesm2022/slotted-angular-grid.mjs.map +1 -0
  387. package/fesm2022/slotted-angular-highlight.mjs +123 -0
  388. package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
  389. package/fesm2022/slotted-angular-hover-card.mjs +326 -0
  390. package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
  391. package/fesm2022/slotted-angular-i18n.mjs +75 -0
  392. package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
  393. package/fesm2022/slotted-angular-icon.mjs +232 -0
  394. package/fesm2022/slotted-angular-icon.mjs.map +1 -0
  395. package/fesm2022/slotted-angular-image.mjs +442 -0
  396. package/fesm2022/slotted-angular-image.mjs.map +1 -0
  397. package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
  398. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
  399. package/fesm2022/slotted-angular-inline-message.mjs +280 -0
  400. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
  401. package/fesm2022/slotted-angular-inline.mjs +52 -0
  402. package/fesm2022/slotted-angular-inline.mjs.map +1 -0
  403. package/fesm2022/slotted-angular-kbd.mjs +284 -0
  404. package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
  405. package/fesm2022/slotted-angular-link.mjs +182 -0
  406. package/fesm2022/slotted-angular-link.mjs.map +1 -0
  407. package/fesm2022/slotted-angular-list-item.mjs +367 -0
  408. package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
  409. package/fesm2022/slotted-angular-list.mjs +256 -0
  410. package/fesm2022/slotted-angular-list.mjs.map +1 -0
  411. package/fesm2022/slotted-angular-listbox.mjs +1274 -0
  412. package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
  413. package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
  414. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
  415. package/fesm2022/slotted-angular-markdown.mjs +914 -0
  416. package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
  417. package/fesm2022/slotted-angular-menu.mjs +1211 -0
  418. package/fesm2022/slotted-angular-menu.mjs.map +1 -0
  419. package/fesm2022/slotted-angular-menubar.mjs +230 -0
  420. package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
  421. package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
  422. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
  423. package/fesm2022/slotted-angular-message.mjs +866 -0
  424. package/fesm2022/slotted-angular-message.mjs.map +1 -0
  425. package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
  426. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
  427. package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
  428. package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
  429. package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
  430. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
  431. package/fesm2022/slotted-angular-number-field.mjs +966 -0
  432. package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
  433. package/fesm2022/slotted-angular-otp-input.mjs +629 -0
  434. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
  435. package/fesm2022/slotted-angular-page-header.mjs +788 -0
  436. package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
  437. package/fesm2022/slotted-angular-page.mjs +255 -0
  438. package/fesm2022/slotted-angular-page.mjs.map +1 -0
  439. package/fesm2022/slotted-angular-pagination.mjs +562 -0
  440. package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
  441. package/fesm2022/slotted-angular-popover.mjs +799 -0
  442. package/fesm2022/slotted-angular-popover.mjs.map +1 -0
  443. package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
  444. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
  445. package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
  446. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
  447. package/fesm2022/slotted-angular-prose.mjs +314 -0
  448. package/fesm2022/slotted-angular-prose.mjs.map +1 -0
  449. package/fesm2022/slotted-angular-radio-group.mjs +469 -0
  450. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
  451. package/fesm2022/slotted-angular-rating.mjs +1174 -0
  452. package/fesm2022/slotted-angular-rating.mjs.map +1 -0
  453. package/fesm2022/slotted-angular-result-state.mjs +330 -0
  454. package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
  455. package/fesm2022/slotted-angular-saved-views.mjs +877 -0
  456. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
  457. package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
  458. package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
  459. package/fesm2022/slotted-angular-section.mjs +266 -0
  460. package/fesm2022/slotted-angular-section.mjs.map +1 -0
  461. package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
  462. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
  463. package/fesm2022/slotted-angular-select.mjs +1899 -0
  464. package/fesm2022/slotted-angular-select.mjs.map +1 -0
  465. package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
  466. package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
  467. package/fesm2022/slotted-angular-skeleton.mjs +316 -0
  468. package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
  469. package/fesm2022/slotted-angular-slider.mjs +586 -0
  470. package/fesm2022/slotted-angular-slider.mjs.map +1 -0
  471. package/fesm2022/slotted-angular-sparkline.mjs +235 -0
  472. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
  473. package/fesm2022/slotted-angular-split-button.mjs +331 -0
  474. package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
  475. package/fesm2022/slotted-angular-splitter.mjs +516 -0
  476. package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
  477. package/fesm2022/slotted-angular-stack.mjs +48 -0
  478. package/fesm2022/slotted-angular-stack.mjs.map +1 -0
  479. package/fesm2022/slotted-angular-stat-card.mjs +478 -0
  480. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
  481. package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
  482. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
  483. package/fesm2022/slotted-angular-stepper.mjs +536 -0
  484. package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
  485. package/fesm2022/slotted-angular-switch.mjs +447 -0
  486. package/fesm2022/slotted-angular-switch.mjs.map +1 -0
  487. package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
  488. package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
  489. package/fesm2022/slotted-angular-table.mjs +2518 -0
  490. package/fesm2022/slotted-angular-table.mjs.map +1 -0
  491. package/fesm2022/slotted-angular-tabs.mjs +829 -0
  492. package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
  493. package/fesm2022/slotted-angular-tag.mjs +595 -0
  494. package/fesm2022/slotted-angular-tag.mjs.map +1 -0
  495. package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
  496. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
  497. package/fesm2022/slotted-angular-text-field.mjs +674 -0
  498. package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
  499. package/fesm2022/slotted-angular-textarea.mjs +275 -0
  500. package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
  501. package/fesm2022/slotted-angular-theme.mjs +45 -0
  502. package/fesm2022/slotted-angular-theme.mjs.map +1 -0
  503. package/fesm2022/slotted-angular-time-field.mjs +895 -0
  504. package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
  505. package/fesm2022/slotted-angular-time-picker.mjs +856 -0
  506. package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
  507. package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
  508. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
  509. package/fesm2022/slotted-angular-timeline.mjs +928 -0
  510. package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
  511. package/fesm2022/slotted-angular-toast.mjs +917 -0
  512. package/fesm2022/slotted-angular-toast.mjs.map +1 -0
  513. package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
  514. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
  515. package/fesm2022/slotted-angular-toggle.mjs +162 -0
  516. package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
  517. package/fesm2022/slotted-angular-toolbar.mjs +536 -0
  518. package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
  519. package/fesm2022/slotted-angular-tooltip.mjs +798 -0
  520. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
  521. package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
  522. package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
  523. package/fesm2022/slotted-angular-tour.mjs +1330 -0
  524. package/fesm2022/slotted-angular-tour.mjs.map +1 -0
  525. package/fesm2022/slotted-angular-transfer.mjs +1406 -0
  526. package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
  527. package/fesm2022/slotted-angular-tree.mjs +1448 -0
  528. package/fesm2022/slotted-angular-tree.mjs.map +1 -0
  529. package/fesm2022/slotted-angular-typography.mjs +184 -0
  530. package/fesm2022/slotted-angular-typography.mjs.map +1 -0
  531. package/fesm2022/slotted-angular-upload.mjs +1523 -0
  532. package/fesm2022/slotted-angular-upload.mjs.map +1 -0
  533. package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
  534. package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
  535. package/fesm2022/slotted-angular-wizard.mjs +1715 -0
  536. package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
  537. package/fesm2022/slotted-angular.mjs +4 -0
  538. package/fesm2022/slotted-angular.mjs.map +1 -0
  539. package/package.json +537 -3
  540. package/types/slotted-angular-accordion.d.ts +156 -0
  541. package/types/slotted-angular-accordion.d.ts.map +1 -0
  542. package/types/slotted-angular-action-bar.d.ts +291 -0
  543. package/types/slotted-angular-action-bar.d.ts.map +1 -0
  544. package/types/slotted-angular-action-sheet.d.ts +294 -0
  545. package/types/slotted-angular-action-sheet.d.ts.map +1 -0
  546. package/types/slotted-angular-alert.d.ts +214 -0
  547. package/types/slotted-angular-alert.d.ts.map +1 -0
  548. package/types/slotted-angular-app-shell.d.ts +549 -0
  549. package/types/slotted-angular-app-shell.d.ts.map +1 -0
  550. package/types/slotted-angular-aspect-ratio.d.ts +57 -0
  551. package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
  552. package/types/slotted-angular-attachment.d.ts +294 -0
  553. package/types/slotted-angular-attachment.d.ts.map +1 -0
  554. package/types/slotted-angular-avatar-group.d.ts +119 -0
  555. package/types/slotted-angular-avatar-group.d.ts.map +1 -0
  556. package/types/slotted-angular-avatar.d.ts +202 -0
  557. package/types/slotted-angular-avatar.d.ts.map +1 -0
  558. package/types/slotted-angular-badge.d.ts +166 -0
  559. package/types/slotted-angular-badge.d.ts.map +1 -0
  560. package/types/slotted-angular-breadcrumb.d.ts +251 -0
  561. package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
  562. package/types/slotted-angular-button-group.d.ts +89 -0
  563. package/types/slotted-angular-button-group.d.ts.map +1 -0
  564. package/types/slotted-angular-button.d.ts +390 -0
  565. package/types/slotted-angular-button.d.ts.map +1 -0
  566. package/types/slotted-angular-calendar.d.ts +280 -0
  567. package/types/slotted-angular-calendar.d.ts.map +1 -0
  568. package/types/slotted-angular-card.d.ts +140 -0
  569. package/types/slotted-angular-card.d.ts.map +1 -0
  570. package/types/slotted-angular-carousel.d.ts +288 -0
  571. package/types/slotted-angular-carousel.d.ts.map +1 -0
  572. package/types/slotted-angular-cascader.d.ts +351 -0
  573. package/types/slotted-angular-cascader.d.ts.map +1 -0
  574. package/types/slotted-angular-chart.d.ts +319 -0
  575. package/types/slotted-angular-chart.d.ts.map +1 -0
  576. package/types/slotted-angular-checkbox-group.d.ts +156 -0
  577. package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
  578. package/types/slotted-angular-checkbox.d.ts +197 -0
  579. package/types/slotted-angular-checkbox.d.ts.map +1 -0
  580. package/types/slotted-angular-code-block.d.ts +158 -0
  581. package/types/slotted-angular-code-block.d.ts.map +1 -0
  582. package/types/slotted-angular-collapsible.d.ts +272 -0
  583. package/types/slotted-angular-collapsible.d.ts.map +1 -0
  584. package/types/slotted-angular-color-picker.d.ts +181 -0
  585. package/types/slotted-angular-color-picker.d.ts.map +1 -0
  586. package/types/slotted-angular-column-manager.d.ts +200 -0
  587. package/types/slotted-angular-column-manager.d.ts.map +1 -0
  588. package/types/slotted-angular-combobox.d.ts +449 -0
  589. package/types/slotted-angular-combobox.d.ts.map +1 -0
  590. package/types/slotted-angular-command-palette.d.ts +256 -0
  591. package/types/slotted-angular-command-palette.d.ts.map +1 -0
  592. package/types/slotted-angular-container.d.ts +84 -0
  593. package/types/slotted-angular-container.d.ts.map +1 -0
  594. package/types/slotted-angular-context-menu.d.ts +84 -0
  595. package/types/slotted-angular-context-menu.d.ts.map +1 -0
  596. package/types/slotted-angular-currency-field.d.ts +480 -0
  597. package/types/slotted-angular-currency-field.d.ts.map +1 -0
  598. package/types/slotted-angular-dashboard-grid.d.ts +341 -0
  599. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
  600. package/types/slotted-angular-data-grid.d.ts +1077 -0
  601. package/types/slotted-angular-data-grid.d.ts.map +1 -0
  602. package/types/slotted-angular-data-list.d.ts +272 -0
  603. package/types/slotted-angular-data-list.d.ts.map +1 -0
  604. package/types/slotted-angular-date-field.d.ts +320 -0
  605. package/types/slotted-angular-date-field.d.ts.map +1 -0
  606. package/types/slotted-angular-date-picker.d.ts +224 -0
  607. package/types/slotted-angular-date-picker.d.ts.map +1 -0
  608. package/types/slotted-angular-date-range-picker.d.ts +310 -0
  609. package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
  610. package/types/slotted-angular-datetime-field.d.ts +362 -0
  611. package/types/slotted-angular-datetime-field.d.ts.map +1 -0
  612. package/types/slotted-angular-datetime-picker.d.ts +370 -0
  613. package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
  614. package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
  615. package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
  616. package/types/slotted-angular-description-list.d.ts +281 -0
  617. package/types/slotted-angular-description-list.d.ts.map +1 -0
  618. package/types/slotted-angular-detail-panel.d.ts +240 -0
  619. package/types/slotted-angular-detail-panel.d.ts.map +1 -0
  620. package/types/slotted-angular-dialog.d.ts +497 -0
  621. package/types/slotted-angular-dialog.d.ts.map +1 -0
  622. package/types/slotted-angular-divider.d.ts +40 -0
  623. package/types/slotted-angular-divider.d.ts.map +1 -0
  624. package/types/slotted-angular-drawer.d.ts +532 -0
  625. package/types/slotted-angular-drawer.d.ts.map +1 -0
  626. package/types/slotted-angular-entity-picker.d.ts +338 -0
  627. package/types/slotted-angular-entity-picker.d.ts.map +1 -0
  628. package/types/slotted-angular-event-calendar.d.ts +574 -0
  629. package/types/slotted-angular-event-calendar.d.ts.map +1 -0
  630. package/types/slotted-angular-field-group.d.ts +152 -0
  631. package/types/slotted-angular-field-group.d.ts.map +1 -0
  632. package/types/slotted-angular-field.d.ts +535 -0
  633. package/types/slotted-angular-field.d.ts.map +1 -0
  634. package/types/slotted-angular-filter-bar.d.ts +573 -0
  635. package/types/slotted-angular-filter-bar.d.ts.map +1 -0
  636. package/types/slotted-angular-form.d.ts +298 -0
  637. package/types/slotted-angular-form.d.ts.map +1 -0
  638. package/types/slotted-angular-fullscreen.d.ts +145 -0
  639. package/types/slotted-angular-fullscreen.d.ts.map +1 -0
  640. package/types/slotted-angular-grid.d.ts +50 -0
  641. package/types/slotted-angular-grid.d.ts.map +1 -0
  642. package/types/slotted-angular-highlight.d.ts +93 -0
  643. package/types/slotted-angular-highlight.d.ts.map +1 -0
  644. package/types/slotted-angular-hover-card.d.ts +140 -0
  645. package/types/slotted-angular-hover-card.d.ts.map +1 -0
  646. package/types/slotted-angular-i18n.d.ts +46 -0
  647. package/types/slotted-angular-i18n.d.ts.map +1 -0
  648. package/types/slotted-angular-icon.d.ts +94 -0
  649. package/types/slotted-angular-icon.d.ts.map +1 -0
  650. package/types/slotted-angular-image.d.ts +251 -0
  651. package/types/slotted-angular-image.d.ts.map +1 -0
  652. package/types/slotted-angular-import-export-center.d.ts +351 -0
  653. package/types/slotted-angular-import-export-center.d.ts.map +1 -0
  654. package/types/slotted-angular-inline-message.d.ts +195 -0
  655. package/types/slotted-angular-inline-message.d.ts.map +1 -0
  656. package/types/slotted-angular-inline.d.ts +41 -0
  657. package/types/slotted-angular-inline.d.ts.map +1 -0
  658. package/types/slotted-angular-kbd.d.ts +174 -0
  659. package/types/slotted-angular-kbd.d.ts.map +1 -0
  660. package/types/slotted-angular-link.d.ts +94 -0
  661. package/types/slotted-angular-link.d.ts.map +1 -0
  662. package/types/slotted-angular-list-item.d.ts +210 -0
  663. package/types/slotted-angular-list-item.d.ts.map +1 -0
  664. package/types/slotted-angular-list.d.ts +176 -0
  665. package/types/slotted-angular-list.d.ts.map +1 -0
  666. package/types/slotted-angular-listbox.d.ts +470 -0
  667. package/types/slotted-angular-listbox.d.ts.map +1 -0
  668. package/types/slotted-angular-loading-overlay.d.ts +219 -0
  669. package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
  670. package/types/slotted-angular-markdown.d.ts +172 -0
  671. package/types/slotted-angular-markdown.d.ts.map +1 -0
  672. package/types/slotted-angular-menu.d.ts +448 -0
  673. package/types/slotted-angular-menu.d.ts.map +1 -0
  674. package/types/slotted-angular-menubar.d.ts +90 -0
  675. package/types/slotted-angular-menubar.d.ts.map +1 -0
  676. package/types/slotted-angular-message-scroller.d.ts +151 -0
  677. package/types/slotted-angular-message-scroller.d.ts.map +1 -0
  678. package/types/slotted-angular-message.d.ts +348 -0
  679. package/types/slotted-angular-message.d.ts.map +1 -0
  680. package/types/slotted-angular-multi-select.d.ts +462 -0
  681. package/types/slotted-angular-multi-select.d.ts.map +1 -0
  682. package/types/slotted-angular-navigation-menu.d.ts +309 -0
  683. package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
  684. package/types/slotted-angular-notification-center.d.ts +318 -0
  685. package/types/slotted-angular-notification-center.d.ts.map +1 -0
  686. package/types/slotted-angular-number-field.d.ts +402 -0
  687. package/types/slotted-angular-number-field.d.ts.map +1 -0
  688. package/types/slotted-angular-otp-input.d.ts +286 -0
  689. package/types/slotted-angular-otp-input.d.ts.map +1 -0
  690. package/types/slotted-angular-page-header.d.ts +334 -0
  691. package/types/slotted-angular-page-header.d.ts.map +1 -0
  692. package/types/slotted-angular-page.d.ts +141 -0
  693. package/types/slotted-angular-page.d.ts.map +1 -0
  694. package/types/slotted-angular-pagination.d.ts +213 -0
  695. package/types/slotted-angular-pagination.d.ts.map +1 -0
  696. package/types/slotted-angular-popover.d.ts +366 -0
  697. package/types/slotted-angular-popover.d.ts.map +1 -0
  698. package/types/slotted-angular-progress-indicator.d.ts +312 -0
  699. package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
  700. package/types/slotted-angular-prompt-composer.d.ts +242 -0
  701. package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
  702. package/types/slotted-angular-prose.d.ts +171 -0
  703. package/types/slotted-angular-prose.d.ts.map +1 -0
  704. package/types/slotted-angular-radio-group.d.ts +268 -0
  705. package/types/slotted-angular-radio-group.d.ts.map +1 -0
  706. package/types/slotted-angular-rating.d.ts +374 -0
  707. package/types/slotted-angular-rating.d.ts.map +1 -0
  708. package/types/slotted-angular-result-state.d.ts +217 -0
  709. package/types/slotted-angular-result-state.d.ts.map +1 -0
  710. package/types/slotted-angular-saved-views.d.ts +198 -0
  711. package/types/slotted-angular-saved-views.d.ts.map +1 -0
  712. package/types/slotted-angular-scroll-area.d.ts +186 -0
  713. package/types/slotted-angular-scroll-area.d.ts.map +1 -0
  714. package/types/slotted-angular-section.d.ts +143 -0
  715. package/types/slotted-angular-section.d.ts.map +1 -0
  716. package/types/slotted-angular-segmented-control.d.ts +251 -0
  717. package/types/slotted-angular-segmented-control.d.ts.map +1 -0
  718. package/types/slotted-angular-select.d.ts +507 -0
  719. package/types/slotted-angular-select.d.ts.map +1 -0
  720. package/types/slotted-angular-side-navigation.d.ts +373 -0
  721. package/types/slotted-angular-side-navigation.d.ts.map +1 -0
  722. package/types/slotted-angular-skeleton.d.ts +198 -0
  723. package/types/slotted-angular-skeleton.d.ts.map +1 -0
  724. package/types/slotted-angular-slider.d.ts +216 -0
  725. package/types/slotted-angular-slider.d.ts.map +1 -0
  726. package/types/slotted-angular-sparkline.d.ts +106 -0
  727. package/types/slotted-angular-sparkline.d.ts.map +1 -0
  728. package/types/slotted-angular-split-button.d.ts +180 -0
  729. package/types/slotted-angular-split-button.d.ts.map +1 -0
  730. package/types/slotted-angular-splitter.d.ts +206 -0
  731. package/types/slotted-angular-splitter.d.ts.map +1 -0
  732. package/types/slotted-angular-stack.d.ts +38 -0
  733. package/types/slotted-angular-stack.d.ts.map +1 -0
  734. package/types/slotted-angular-stat-card.d.ts +232 -0
  735. package/types/slotted-angular-stat-card.d.ts.map +1 -0
  736. package/types/slotted-angular-status-indicator.d.ts +106 -0
  737. package/types/slotted-angular-status-indicator.d.ts.map +1 -0
  738. package/types/slotted-angular-stepper.d.ts +198 -0
  739. package/types/slotted-angular-stepper.d.ts.map +1 -0
  740. package/types/slotted-angular-switch.d.ts +243 -0
  741. package/types/slotted-angular-switch.d.ts.map +1 -0
  742. package/types/slotted-angular-table-of-contents.d.ts +210 -0
  743. package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
  744. package/types/slotted-angular-table.d.ts +888 -0
  745. package/types/slotted-angular-table.d.ts.map +1 -0
  746. package/types/slotted-angular-tabs.d.ts +340 -0
  747. package/types/slotted-angular-tabs.d.ts.map +1 -0
  748. package/types/slotted-angular-tag.d.ts +279 -0
  749. package/types/slotted-angular-tag.d.ts.map +1 -0
  750. package/types/slotted-angular-tags-input.d.ts +302 -0
  751. package/types/slotted-angular-tags-input.d.ts.map +1 -0
  752. package/types/slotted-angular-text-field.d.ts +334 -0
  753. package/types/slotted-angular-text-field.d.ts.map +1 -0
  754. package/types/slotted-angular-textarea.d.ts +150 -0
  755. package/types/slotted-angular-textarea.d.ts.map +1 -0
  756. package/types/slotted-angular-theme.d.ts +26 -0
  757. package/types/slotted-angular-theme.d.ts.map +1 -0
  758. package/types/slotted-angular-time-field.d.ts +300 -0
  759. package/types/slotted-angular-time-field.d.ts.map +1 -0
  760. package/types/slotted-angular-time-picker.d.ts +260 -0
  761. package/types/slotted-angular-time-picker.d.ts.map +1 -0
  762. package/types/slotted-angular-time-range-picker.d.ts +401 -0
  763. package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
  764. package/types/slotted-angular-timeline.d.ts +329 -0
  765. package/types/slotted-angular-timeline.d.ts.map +1 -0
  766. package/types/slotted-angular-toast.d.ts +340 -0
  767. package/types/slotted-angular-toast.d.ts.map +1 -0
  768. package/types/slotted-angular-toggle-group.d.ts +167 -0
  769. package/types/slotted-angular-toggle-group.d.ts.map +1 -0
  770. package/types/slotted-angular-toggle.d.ts +106 -0
  771. package/types/slotted-angular-toggle.d.ts.map +1 -0
  772. package/types/slotted-angular-toolbar.d.ts +252 -0
  773. package/types/slotted-angular-toolbar.d.ts.map +1 -0
  774. package/types/slotted-angular-tooltip.d.ts +388 -0
  775. package/types/slotted-angular-tooltip.d.ts.map +1 -0
  776. package/types/slotted-angular-top-navigation.d.ts +442 -0
  777. package/types/slotted-angular-top-navigation.d.ts.map +1 -0
  778. package/types/slotted-angular-tour.d.ts +440 -0
  779. package/types/slotted-angular-tour.d.ts.map +1 -0
  780. package/types/slotted-angular-transfer.d.ts +296 -0
  781. package/types/slotted-angular-transfer.d.ts.map +1 -0
  782. package/types/slotted-angular-tree.d.ts +499 -0
  783. package/types/slotted-angular-tree.d.ts.map +1 -0
  784. package/types/slotted-angular-typography.d.ts +89 -0
  785. package/types/slotted-angular-typography.d.ts.map +1 -0
  786. package/types/slotted-angular-upload.d.ts +365 -0
  787. package/types/slotted-angular-upload.d.ts.map +1 -0
  788. package/types/slotted-angular-visually-hidden.d.ts +19 -0
  789. package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
  790. package/types/slotted-angular-wizard.d.ts +441 -0
  791. package/types/slotted-angular-wizard.d.ts.map +1 -0
  792. package/types/slotted-angular.d.ts +3 -0
  793. package/types/slotted-angular.d.ts.map +1 -0
@@ -0,0 +1,1172 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, inject, Injectable, input, ElementRef, DestroyRef, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, TemplateRef, Directive, booleanAttribute, model, output, HostAttributeToken, viewChild, contentChild, signal, effect, untracked, afterRenderEffect } from '@angular/core';
4
+ import { SlGlyph, SlIcon } from '@slotted/angular/icon';
5
+ import { SlButton } from '@slotted/angular/button';
6
+ import { injectLocale, injectMessages } from '@slotted/angular/i18n';
7
+ import { SlSkeleton, SlSkeletonText } from '@slotted/angular/skeleton';
8
+ import { SlTab, SlTabList, SlTabs } from '@slotted/angular/tabs';
9
+ import { tabbables } from '@slotted/core/focus';
10
+ import { notificationCenterMessages } from '@slotted/core/i18n';
11
+ import { getLiveAnnouncer } from '@slotted/core/live-announcer';
12
+ import { createControllable } from '@slotted/core/state';
13
+ import { setSizeOf, formatTimestamp, feedFocusTarget } from '@slotted/core/timeline';
14
+ import * as i1 from '@slotted/angular/tooltip';
15
+ import { SlTooltip, SlTooltipLayer, SlTooltipContent, provideTooltipDefaults } from '@slotted/angular/tooltip';
16
+
17
+ const FALLBACK = {
18
+ arrivals: 'hold',
19
+ controls: 'both',
20
+ growing: 'none',
21
+ level: '2',
22
+ size: 'md',
23
+ timeFormat: 'relative',
24
+ };
25
+ const NOTIFICATION_CENTER_DEFAULTS = new InjectionToken('slotted notification-center defaults', { providedIn: 'root', factory: () => FALLBACK });
26
+ /**
27
+ * An application decides once how its notifications read — the size, the
28
+ * rank, how more loads, whether arrivals are held, how time is written, the
29
+ * time zone — rather than repeating them on every screen. A centre that states
30
+ * any of them itself still wins. Its words and locale come from the language
31
+ * in force (`provideSlotted`).
32
+ */
33
+ function provideNotificationCenterDefaults(defaults) {
34
+ return {
35
+ provide: NOTIFICATION_CENTER_DEFAULTS,
36
+ useFactory: () => ({ ...FALLBACK, ...defaults }),
37
+ };
38
+ }
39
+ function injectNotificationCenterDefaults() {
40
+ return inject(NOTIFICATION_CENTER_DEFAULTS);
41
+ }
42
+ class SlNotificationCenterIdFactory {
43
+ count = 0;
44
+ next() {
45
+ this.count += 1;
46
+ return `slotted-notification-center-${this.count}`;
47
+ }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterIdFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
49
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterIdFactory, providedIn: 'root' });
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterIdFactory, decorators: [{
52
+ type: Injectable,
53
+ args: [{ providedIn: 'root' }]
54
+ }] });
55
+
56
+ /**
57
+ * One of the family's own controls on an item — mark read or unread, and
58
+ * dismiss — and the tooltip it opens with the words its accessible name
59
+ * carries: on hover, and on keyboard focus. Two glyphs with no words beside
60
+ * them are two controls nobody can tell apart until they are named, and
61
+ * `aria-label` names them only to a screen reader. The construction is the
62
+ * one `top-navigation` gives its icon-only controls: `SlTooltip` is a host
63
+ * directive holding the state and the delays, and the control dispatches the
64
+ * pointer and the focus to it.
65
+ *
66
+ * On touch a hover never comes, so a press held on the control opens the hint
67
+ * the way the platform's own long press names a thing.
68
+ */
69
+ class SlNotificationControl {
70
+ /** The words the control is named by, and the tooltip repeats. */
71
+ text = input.required(/* @ts-ignore */
72
+ ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
73
+ tooltip = inject(SlTooltip);
74
+ native = inject(ElementRef).nativeElement;
75
+ constructor() {
76
+ this.tooltip.triggerNode.set(this.native);
77
+ inject(DestroyRef).onDestroy(() => this.tooltip.triggerNode.set(null));
78
+ }
79
+ describedBy = computed(() => this.tooltip.isOpen() ? this.tooltip.contentId : null, /* @ts-ignore */
80
+ ...(ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []));
81
+ onPointerEnter(event) {
82
+ if (event.pointerType === 'touch')
83
+ return;
84
+ this.tooltip.openAfterDelay(event);
85
+ }
86
+ onPointerLeave(event) {
87
+ this.tooltip.closeAfterDelay(event);
88
+ }
89
+ onPointerDown(event) {
90
+ if (event.pointerType === 'touch')
91
+ this.tooltip.pressAndHold(event);
92
+ else if (this.tooltip.isOpen())
93
+ this.tooltip.toggle(false, 'pointer', event);
94
+ }
95
+ onPointerUp() {
96
+ this.tooltip.cancelPending();
97
+ }
98
+ onFocus(event) {
99
+ if (!this.native.matches(':focus-visible'))
100
+ return;
101
+ this.tooltip.toggle(true, 'keyboard', event);
102
+ }
103
+ onBlur(event) {
104
+ if (this.tooltip.isOpen())
105
+ this.tooltip.toggle(false, 'blur', event);
106
+ }
107
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationControl, deps: [], target: i0.ɵɵFactoryTarget.Component });
108
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlNotificationControl, isStandalone: true, selector: "button[slNotificationControl]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "type": "button" }, listeners: { "pointerenter": "onPointerEnter($event)", "pointerleave": "onPointerLeave($event)", "pointerdown": "onPointerDown($event)", "pointerup": "onPointerUp()", "pointercancel": "onPointerUp()", "focus": "onFocus($event)", "blur": "onBlur($event)" }, properties: { "attr.aria-label": "text()", "attr.aria-describedby": "describedBy()" } }, providers: [provideTooltipDefaults({ openOn: 'hover', side: 'bottom' })], hostDirectives: [{ directive: i1.SlTooltip }], ngImport: i0, template: `<ng-content /><ng-template slTooltipLayer>
109
+ <div slTooltipContent>{{ text() }}</div>
110
+ </ng-template>`, isInline: true, dependencies: [{ kind: "directive", type: SlTooltipLayer, selector: "ng-template[slTooltipLayer]", exportAs: ["slTooltipLayer"] }, { kind: "component", type: SlTooltipContent, selector: "[slTooltipContent]", exportAs: ["slTooltipContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
111
+ }
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationControl, decorators: [{
113
+ type: Component,
114
+ args: [{
115
+ selector: 'button[slNotificationControl]',
116
+ standalone: true,
117
+ imports: [SlTooltipLayer, SlTooltipContent],
118
+ /* The glyph is the item's to choose, so it is projected. */
119
+ template: `<ng-content /><ng-template slTooltipLayer>
120
+ <div slTooltipContent>{{ text() }}</div>
121
+ </ng-template>`,
122
+ changeDetection: ChangeDetectionStrategy.OnPush,
123
+ encapsulation: ViewEncapsulation.None,
124
+ hostDirectives: [SlTooltip],
125
+ providers: [provideTooltipDefaults({ openOn: 'hover', side: 'bottom' })],
126
+ host: {
127
+ type: 'button',
128
+ '[attr.aria-label]': 'text()',
129
+ '[attr.aria-describedby]': 'describedBy()',
130
+ '(pointerenter)': 'onPointerEnter($event)',
131
+ '(pointerleave)': 'onPointerLeave($event)',
132
+ '(pointerdown)': 'onPointerDown($event)',
133
+ '(pointerup)': 'onPointerUp()',
134
+ '(pointercancel)': 'onPointerUp()',
135
+ '(focus)': 'onFocus($event)',
136
+ '(blur)': 'onBlur($event)',
137
+ },
138
+ }]
139
+ }], ctorParameters: () => [], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }] } });
140
+
141
+ /** How many skeleton rows stand in while nothing has arrived. */
142
+ const WAITING_ROWS = [0, 1, 2];
143
+ /**
144
+ * The family's own visual for an item with a tone and no visual of its own,
145
+ * as the contract's `toneGlyph` names it: every glyph a circle.
146
+ */
147
+ const TONE_GLYPH = {
148
+ accent: 'circle-info',
149
+ secondary: 'bell',
150
+ success: 'circle-check',
151
+ warning: 'circle-alert',
152
+ danger: 'circle-x',
153
+ };
154
+ /** An identifier a key can be part of: word characters and hyphens stay, the rest is spelled out. */
155
+ function escapeKey(key) {
156
+ return key.replace(/[^\w-]/g, (character) => `-${character.charCodeAt(0).toString(16)}-`);
157
+ }
158
+ function createRequest(reason, event) {
159
+ let cancelled = false;
160
+ return {
161
+ reason,
162
+ event,
163
+ get cancelled() {
164
+ return cancelled;
165
+ },
166
+ cancel() {
167
+ cancelled = true;
168
+ },
169
+ };
170
+ }
171
+ /** A click with no coordinates is a key. */
172
+ function pressReason(event) {
173
+ return event.detail === 0 ? 'keyboard' : 'pointer';
174
+ }
175
+ /** The items filed under their labels, in the order the labels first appear. */
176
+ function groupItems(items, groupBy) {
177
+ const groups = [];
178
+ const byLabel = new Map();
179
+ for (const item of items) {
180
+ const label = groupBy(item);
181
+ let group = byLabel.get(label);
182
+ if (group === undefined) {
183
+ group = { label, items: [] };
184
+ byLabel.set(label, group);
185
+ groups.push(group);
186
+ }
187
+ group.items.push(item);
188
+ }
189
+ return groups;
190
+ }
191
+ /**
192
+ * Substitutes an item's content — the words between the visual and the
193
+ * controls; the article, its wiring and its controls stay the family's.
194
+ *
195
+ * ```html
196
+ * <ng-template slNotificationItem let-item let-time="time" let-ids="ids">
197
+ * <span data-part="title" [id]="ids.title">{{ item.title }}</span>
198
+ * </ng-template>
199
+ * ```
200
+ */
201
+ class SlNotificationItem {
202
+ template = inject((TemplateRef));
203
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
204
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlNotificationItem, isStandalone: true, selector: "ng-template[slNotificationItem]", ngImport: i0 });
205
+ }
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationItem, decorators: [{
207
+ type: Directive,
208
+ args: [{ selector: 'ng-template[slNotificationItem]', standalone: true }]
209
+ }] });
210
+ /**
211
+ * The visual of an item: an avatar, an icon. Absent, an item with a tone
212
+ * gets the family's glyph; one without gets no visual.
213
+ */
214
+ class SlNotificationVisual {
215
+ template = inject((TemplateRef));
216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationVisual, deps: [], target: i0.ɵɵFactoryTarget.Directive });
217
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlNotificationVisual, isStandalone: true, selector: "ng-template[slNotificationVisual]", ngImport: i0 });
218
+ }
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationVisual, decorators: [{
220
+ type: Directive,
221
+ args: [{ selector: 'ng-template[slNotificationVisual]', standalone: true }]
222
+ }] });
223
+ /** The consumer's controls for an item, under its body. */
224
+ class SlNotificationActions {
225
+ template = inject((TemplateRef));
226
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
227
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlNotificationActions, isStandalone: true, selector: "ng-template[slNotificationActions]", ngImport: i0 });
228
+ }
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationActions, decorators: [{
230
+ type: Directive,
231
+ args: [{ selector: 'ng-template[slNotificationActions]', standalone: true }]
232
+ }] });
233
+ /**
234
+ * The persistent list of what happened while the reader was not looking.
235
+ *
236
+ * **It holds none of the facts.** `items` is the consumer's array: whether an
237
+ * item is read, whether it exists, how many there are. Marking, removing,
238
+ * opening, revealing and loading are outputs with a reason, and the store
239
+ * answers by changing the array.
240
+ *
241
+ * **One value moves: the view.** `[(view)]` for the value, `(viewRequest)`
242
+ * for the request that carries the reason and can be cancelled; the
243
+ * built-in `all` and `unread` when the consumer states no views. The strip
244
+ * is `tabs` holding its list alone; the feed is its one panel.
245
+ *
246
+ * **Arrivals are held while the reader reads.** Under `arrivals="hold"` a
247
+ * key the family has not shown, arriving while focus is inside the feed or
248
+ * the feed's scroller is past its start, waits behind `fresh` with a polite
249
+ * announcement; otherwise it shows at once.
250
+ *
251
+ * **The feed is the APG pattern.** `role="feed"`, an `article` per item with
252
+ * its position and the set's size, `PageDown` and `PageUp` between articles,
253
+ * `Control+End` and `Control+Home` out of the feed, `Delete` to ask for a
254
+ * removal, and `aria-busy` while a page is on its way.
255
+ */
256
+ class SlNotificationCenter {
257
+ /** The consumer's array. The family holds none of its facts. */
258
+ items = input.required(/* @ts-ignore */
259
+ ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
260
+ /** The strip's entries. Unstated, the built-in `all` and `unread`; one entry draws no strip. */
261
+ views = input(undefined, /* @ts-ignore */
262
+ ...(ngDevMode ? [{ debugName: "views" }] : /* istanbul ignore next */ []));
263
+ size = input(undefined, /* @ts-ignore */
264
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
265
+ level = input(undefined, /* @ts-ignore */
266
+ ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
267
+ growing = input(undefined, /* @ts-ignore */
268
+ ...(ngDevMode ? [{ debugName: "growing" }] : /* istanbul ignore next */ []));
269
+ arrivals = input(undefined, /* @ts-ignore */
270
+ ...(ngDevMode ? [{ debugName: "arrivals" }] : /* istanbul ignore next */ []));
271
+ timeFormat = input(undefined, /* @ts-ignore */
272
+ ...(ngDevMode ? [{ debugName: "timeFormat" }] : /* istanbul ignore next */ []));
273
+ controls = input(undefined, /* @ts-ignore */
274
+ ...(ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []));
275
+ /** For the time; defaults to the language in force (`provideSlotted`). */
276
+ locale = input(undefined, /* @ts-ignore */
277
+ ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
278
+ timeZone = input(undefined, /* @ts-ignore */
279
+ ...(ngDevMode ? [{ debugName: "timeZone" }] : /* istanbul ignore next */ []));
280
+ /** The instant a relative time is measured from. State it for a stable server render. */
281
+ now = input(undefined, /* @ts-ignore */
282
+ ...(ngDevMode ? [{ debugName: "now" }] : /* istanbul ignore next */ []));
283
+ /** `aria-busy` on the feed; skeleton rows while nothing is loaded, the waiting row under growing otherwise. */
284
+ loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
285
+ /** How many items exist in all, for `aria-setsize`. */
286
+ count = input(undefined, /* @ts-ignore */
287
+ ...(ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []));
288
+ /** Groups the feed: the label an item is filed under, in the order the items give. */
289
+ groupBy = input(undefined, /* @ts-ignore */
290
+ ...(ngDevMode ? [{ debugName: "groupBy" }] : /* istanbul ignore next */ []));
291
+ /**
292
+ * Words laid over the catalog of the language in force, key by key: the
293
+ * heading, the controls, the views, the empty pages and the announcements.
294
+ */
295
+ messages = input(undefined, /* @ts-ignore */
296
+ ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
297
+ /** The view an unbound centre starts on, read once. */
298
+ defaultView = input(undefined, /* @ts-ignore */
299
+ ...(ngDevMode ? [{ debugName: "defaultView" }] : /* istanbul ignore next */ []));
300
+ /** The current view. Two-way, so a template may bind it directly. */
301
+ view = model(undefined, /* @ts-ignore */
302
+ ...(ngDevMode ? [{ debugName: "view" }] : /* istanbul ignore next */ []));
303
+ /** One output for one move of the view, carrying the reason; cancellable. */
304
+ viewRequest = output();
305
+ /** The keys and the value the family asks for. The store answers by changing `items`. */
306
+ readRequest = output();
307
+ /** Asked before an item is removed. The family removes nothing. */
308
+ removeRequest = output();
309
+ /** Asked before a title link navigates. Cancelling keeps the reader here. */
310
+ openRequest = output();
311
+ /** Asked before held arrivals are shown, with their count. */
312
+ revealRequest = output();
313
+ /** Asked when the reader presses the more control, or scrolls to it. */
314
+ loadMoreRequest = output();
315
+ /** A fact for the bell: the unread count among the items, whenever it changes. */
316
+ unreadChange = output();
317
+ defaults = injectNotificationCenterDefaults();
318
+ native = inject(ElementRef).nativeElement;
319
+ writtenLabel = inject(new HostAttributeToken('aria-label'), { optional: true });
320
+ writtenLabelledBy = inject(new HostAttributeToken('aria-labelledby'), {
321
+ optional: true,
322
+ });
323
+ feedElement = viewChild('feed', /* @ts-ignore */
324
+ ...(ngDevMode ? [{ debugName: "feedElement" }] : /* istanbul ignore next */ []));
325
+ freshElement = viewChild('fresh', /* @ts-ignore */
326
+ ...(ngDevMode ? [{ debugName: "freshElement" }] : /* istanbul ignore next */ []));
327
+ moreElement = viewChild('more', /* @ts-ignore */
328
+ ...(ngDevMode ? [{ debugName: "moreElement" }] : /* istanbul ignore next */ []));
329
+ itemTemplate = contentChild(SlNotificationItem, /* @ts-ignore */
330
+ ...(ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []));
331
+ visualTemplate = contentChild(SlNotificationVisual, /* @ts-ignore */
332
+ ...(ngDevMode ? [{ debugName: "visualTemplate" }] : /* istanbul ignore next */ []));
333
+ /**
334
+ * The tone's glyph, for an item with no visual of its own. `data-tone-glyph`
335
+ * tells the sheet the glyph is the family's, not the consumer's.
336
+ */
337
+ toneGlyph(tone) {
338
+ return TONE_GLYPH[tone];
339
+ }
340
+ actionsTemplate = contentChild(SlNotificationActions, /* @ts-ignore */
341
+ ...(ngDevMode ? [{ debugName: "actionsTemplate" }] : /* istanbul ignore next */ []));
342
+ id = inject(SlNotificationCenterIdFactory).next();
343
+ titleId = `${this.id}-title`;
344
+ feedId = `${this.id}-feed`;
345
+ waitingRows = WAITING_ROWS;
346
+ sizeValue = computed(() => this.size() ?? this.defaults.size, /* @ts-ignore */
347
+ ...(ngDevMode ? [{ debugName: "sizeValue" }] : /* istanbul ignore next */ []));
348
+ levelValue = computed(() => this.level() ?? this.defaults.level, /* @ts-ignore */
349
+ ...(ngDevMode ? [{ debugName: "levelValue" }] : /* istanbul ignore next */ []));
350
+ growingValue = computed(() => this.growing() ?? this.defaults.growing, /* @ts-ignore */
351
+ ...(ngDevMode ? [{ debugName: "growingValue" }] : /* istanbul ignore next */ []));
352
+ arrivalsValue = computed(() => this.arrivals() ?? this.defaults.arrivals, /* @ts-ignore */
353
+ ...(ngDevMode ? [{ debugName: "arrivalsValue" }] : /* istanbul ignore next */ []));
354
+ timeFormatValue = computed(() => this.timeFormat() ?? this.defaults.timeFormat, /* @ts-ignore */
355
+ ...(ngDevMode ? [{ debugName: "timeFormatValue" }] : /* istanbul ignore next */ []));
356
+ controlsValue = computed(() => this.controls() ?? this.defaults.controls, /* @ts-ignore */
357
+ ...(ngDevMode ? [{ debugName: "controlsValue" }] : /* istanbul ignore next */ []));
358
+ runtimeLocale = injectLocale();
359
+ localeValue = computed(() => this.locale() ?? this.runtimeLocale(), /* @ts-ignore */
360
+ ...(ngDevMode ? [{ debugName: "localeValue" }] : /* istanbul ignore next */ []));
361
+ timeZoneValue = computed(() => this.timeZone() ?? this.defaults.timeZone, /* @ts-ignore */
362
+ ...(ngDevMode ? [{ debugName: "timeZoneValue" }] : /* istanbul ignore next */ []));
363
+ /** The family's words in the language in force, with this centre's `messages` laid over them. */
364
+ t = injectMessages(notificationCenterMessages, this.messages);
365
+ /** The unread count among every item, held or shown. */
366
+ unread = computed(() => this.items().filter((item) => !item.read).length, /* @ts-ignore */
367
+ ...(ngDevMode ? [{ debugName: "unread" }] : /* istanbul ignore next */ []));
368
+ viewList = computed(() => this.views() ?? [
369
+ { label: this.t('all'), value: 'all' },
370
+ { count: this.unread(), label: this.t('unreadView'), value: 'unread' },
371
+ ], /* @ts-ignore */
372
+ ...(ngDevMode ? [{ debugName: "viewList" }] : /* istanbul ignore next */ []));
373
+ /** The view: the model, then defaultView, then the first entry. */
374
+ currentView = computed(() => this.view() ?? this.defaultView() ?? this.viewList()[0]?.value ?? 'all', /* @ts-ignore */
375
+ ...(ngDevMode ? [{ debugName: "currentView" }] : /* istanbul ignore next */ []));
376
+ /** The keys the family has shown; a key outside it and outside `held` has just arrived. */
377
+ shown = signal(new Set(), /* @ts-ignore */
378
+ ...(ngDevMode ? [{ debugName: "shown" }] : /* istanbul ignore next */ []));
379
+ /** The keys held behind `fresh`, in the order they arrived. */
380
+ held = signal([], /* @ts-ignore */
381
+ ...(ngDevMode ? [{ debugName: "held" }] : /* istanbul ignore next */ []));
382
+ pendingFocus = null;
383
+ shownItems = computed(() => {
384
+ if (this.arrivalsValue() !== 'hold')
385
+ return this.items();
386
+ const shown = this.shown();
387
+ return this.items().filter((item) => shown.has(item.key));
388
+ }, /* @ts-ignore */
389
+ ...(ngDevMode ? [{ debugName: "shownItems" }] : /* istanbul ignore next */ []));
390
+ visibleItems = computed(() => this.currentView() === 'unread'
391
+ ? this.shownItems().filter((item) => !item.read)
392
+ : this.shownItems(), /* @ts-ignore */
393
+ ...(ngDevMode ? [{ debugName: "visibleItems" }] : /* istanbul ignore next */ []));
394
+ groups = computed(() => {
395
+ const groupBy = this.groupBy();
396
+ return groupBy === undefined ? [] : groupItems(this.visibleItems(), groupBy);
397
+ }, /* @ts-ignore */
398
+ ...(ngDevMode ? [{ debugName: "groups" }] : /* istanbul ignore next */ []));
399
+ setSize = computed(() => setSizeOf({
400
+ count: this.count(),
401
+ growing: this.growingValue(),
402
+ loaded: this.visibleItems().length,
403
+ }), /* @ts-ignore */
404
+ ...(ngDevMode ? [{ debugName: "setSize" }] : /* istanbul ignore next */ []));
405
+ waiting = computed(() => this.loading() && this.visibleItems().length === 0, /* @ts-ignore */
406
+ ...(ngDevMode ? [{ debugName: "waiting" }] : /* istanbul ignore next */ []));
407
+ showEmpty = computed(() => !this.waiting() && this.visibleItems().length === 0, /* @ts-ignore */
408
+ ...(ngDevMode ? [{ debugName: "showEmpty" }] : /* istanbul ignore next */ []));
409
+ emptyWords = computed(() => this.currentView() === 'unread' ? this.t('caughtUp') : this.t('empty'), /* @ts-ignore */
410
+ ...(ngDevMode ? [{ debugName: "emptyWords" }] : /* istanbul ignore next */ []));
411
+ labelledBy = computed(() => this.writtenLabel !== null || this.writtenLabelledBy !== null
412
+ ? this.writtenLabelledBy
413
+ : this.titleId, /* @ts-ignore */
414
+ ...(ngDevMode ? [{ debugName: "labelledBy" }] : /* istanbul ignore next */ []));
415
+ constructor() {
416
+ /*
417
+ * A key the family has not shown is either held or shown. Keys that
418
+ * left the array leave both sets. The first array is shown whole: nobody
419
+ * was reading before there was anything to read.
420
+ */
421
+ let first = true;
422
+ effect(() => {
423
+ const keys = new Set(this.items().map((item) => item.key));
424
+ const shown = untracked(() => this.shown());
425
+ const held = untracked(() => this.held());
426
+ const fresh = [...keys].filter((key) => !shown.has(key) && !held.includes(key));
427
+ const kept = held.filter((key) => keys.has(key));
428
+ const holding = untracked(() => this.arrivalsValue()) === 'hold';
429
+ if (fresh.length > 0 && holding && !first && untracked(() => this.reading())) {
430
+ this.held.set([...kept, ...fresh]);
431
+ }
432
+ else {
433
+ if (fresh.length > 0)
434
+ this.shown.set(new Set([...shown, ...fresh]));
435
+ if (kept.length !== held.length)
436
+ this.held.set(kept);
437
+ }
438
+ first = false;
439
+ });
440
+ /** Held arrivals are announced once per change of the count, politely. */
441
+ effect(() => {
442
+ const count = this.held().length;
443
+ if (count === 0)
444
+ return;
445
+ getLiveAnnouncer().announce(untracked(() => this.t('fresh', { count })));
446
+ });
447
+ /** The unread count is a fact for the bell, reported on the first read and on every change. */
448
+ let reported = null;
449
+ effect(() => {
450
+ const count = this.unread();
451
+ if (reported === count)
452
+ return;
453
+ const initial = reported === null;
454
+ reported = count;
455
+ this.unreadChange.emit(count);
456
+ if (!initial)
457
+ getLiveAnnouncer().announce(untracked(() => this.t('unread', { count })));
458
+ });
459
+ /** A keyboard reveal moves focus to the first revealed article once it is in the DOM. */
460
+ afterRenderEffect(() => {
461
+ this.visibleItems();
462
+ const key = this.pendingFocus;
463
+ if (key === null)
464
+ return;
465
+ this.pendingFocus = null;
466
+ this.native.querySelector(`article[data-key="${CSS.escape(key)}"]`)?.focus();
467
+ });
468
+ /**
469
+ * `growing="scroll"` asks when the end of the loaded list enters the
470
+ * scrollport. Only where the observer exists.
471
+ */
472
+ effect((onCleanup) => {
473
+ const more = this.moreElement()?.nativeElement;
474
+ if (this.growingValue() !== 'scroll' || more === undefined || this.loading())
475
+ return;
476
+ if (typeof IntersectionObserver === 'undefined')
477
+ return;
478
+ const observer = new IntersectionObserver((entries) => {
479
+ if (entries.some((entry) => entry.isIntersecting)) {
480
+ this.loadMoreRequest.emit(createRequest('scroll', undefined));
481
+ }
482
+ });
483
+ observer.observe(more);
484
+ onCleanup(() => observer.disconnect());
485
+ });
486
+ }
487
+ /** Whether the reader is reading: focus in the feed, or the feed's scroller past its start. */
488
+ reading() {
489
+ const feed = this.feedElement()?.nativeElement;
490
+ if (feed === undefined)
491
+ return false;
492
+ const active = feed.ownerDocument.activeElement;
493
+ if (active !== null && feed.contains(active))
494
+ return true;
495
+ let node = feed.parentElement;
496
+ while (node !== null) {
497
+ if (node.scrollTop > 0)
498
+ return true;
499
+ node = node.parentElement;
500
+ }
501
+ return false;
502
+ }
503
+ pressReason(event) {
504
+ return pressReason(event);
505
+ }
506
+ contextOf(item, position) {
507
+ const escaped = escapeKey(item.key);
508
+ return {
509
+ $implicit: item,
510
+ ids: { description: `${this.id}-${escaped}-d`, title: `${this.id}-${escaped}-t` },
511
+ position,
512
+ time: formatTimestamp(item.time, {
513
+ format: this.timeFormatValue(),
514
+ locale: this.localeValue(),
515
+ now: this.now(),
516
+ timeZone: this.timeZoneValue(),
517
+ }),
518
+ tone: item.tone ?? 'accent',
519
+ };
520
+ }
521
+ positionOf(group, index) {
522
+ let before = 0;
523
+ for (const candidate of this.groups()) {
524
+ if (candidate === group)
525
+ break;
526
+ before += candidate.items.length;
527
+ }
528
+ return before + index + 1;
529
+ }
530
+ /** Asks to move the view, carrying the reason and the originating event. */
531
+ selectView(next, reason, source) {
532
+ if (next === this.currentView())
533
+ return;
534
+ let cancelled = false;
535
+ const state = createControllable({
536
+ initial: this.currentView(),
537
+ onRequest: (request) => {
538
+ this.viewRequest.emit(request);
539
+ cancelled = request.cancelled;
540
+ },
541
+ });
542
+ const moved = state.request(next, reason, source);
543
+ if (cancelled || !moved)
544
+ return;
545
+ this.view.set(next);
546
+ }
547
+ forwardView(request) {
548
+ if (request.value === undefined)
549
+ return;
550
+ this.selectView(request.value, request.reason, request.source);
551
+ }
552
+ /** Asks to mark these keys read or unread. */
553
+ requestRead(keys, read, reason, event) {
554
+ if (keys.length === 0)
555
+ return;
556
+ this.readRequest.emit(Object.assign(createRequest(reason, event), { keys, read }));
557
+ }
558
+ markAll(event) {
559
+ this.requestRead(this.unreadShownKeys(), true, pressReason(event), event);
560
+ }
561
+ /** Asks to mark every unread shown item read, with the reason `programmatic`. */
562
+ markAllRead() {
563
+ this.requestRead(this.unreadShownKeys(), true, 'programmatic');
564
+ }
565
+ unreadShownKeys() {
566
+ return this.shownItems()
567
+ .filter((item) => !item.read)
568
+ .map((item) => item.key);
569
+ }
570
+ remove(key, reason, event) {
571
+ const request = Object.assign(createRequest(reason, event), { key });
572
+ this.removeRequest.emit(request);
573
+ return !request.cancelled;
574
+ }
575
+ open(key, event) {
576
+ const request = Object.assign(createRequest(pressReason(event), event), { key });
577
+ this.openRequest.emit(request);
578
+ if (request.cancelled)
579
+ event.preventDefault();
580
+ }
581
+ /** Shows the held arrivals; a keyboard press moves focus to the first of them. */
582
+ reveal(reason = 'programmatic', event) {
583
+ const held = this.held();
584
+ if (held.length === 0)
585
+ return;
586
+ const request = Object.assign(createRequest(reason, event), { count: held.length });
587
+ this.revealRequest.emit(request);
588
+ if (request.cancelled)
589
+ return;
590
+ if (reason === 'keyboard')
591
+ this.pendingFocus = held[0] ?? null;
592
+ this.shown.set(new Set([...this.shown(), ...held]));
593
+ this.held.set([]);
594
+ }
595
+ loadMore(event) {
596
+ this.loadMoreRequest.emit(createRequest(pressReason(event), event));
597
+ }
598
+ /** Moves focus to the first article, or to `fresh` when arrivals are held. */
599
+ focus() {
600
+ (this.freshElement()?.nativeElement ?? this.articles()[0])?.focus();
601
+ }
602
+ articles() {
603
+ const feed = this.feedElement()?.nativeElement;
604
+ return feed === undefined
605
+ ? []
606
+ : [...feed.querySelectorAll('article[data-part="item"]')];
607
+ }
608
+ onFeedKeydown(raw) {
609
+ const event = raw;
610
+ if (event.defaultPrevented)
611
+ return;
612
+ const feed = this.feedElement()?.nativeElement;
613
+ if (feed === undefined)
614
+ return;
615
+ const all = this.articles();
616
+ const from = all.findIndex((article) => article.contains(event.target));
617
+ if (from === -1)
618
+ return;
619
+ if (event.key === 'Delete' && event.target === all[from] && !event.repeat) {
620
+ const article = all[from];
621
+ if (!this.remove(article.dataset['key'] ?? '', 'keyboard', event))
622
+ return;
623
+ event.preventDefault();
624
+ const next = all[from + 1] ?? all[from - 1];
625
+ if (next !== undefined) {
626
+ next.focus();
627
+ }
628
+ else {
629
+ (this.freshElement()?.nativeElement ?? tabbables(this.native)[0])?.focus();
630
+ }
631
+ return;
632
+ }
633
+ const target = feedFocusTarget({
634
+ count: all.length,
635
+ ctrlKey: event.ctrlKey,
636
+ from,
637
+ key: event.key,
638
+ metaKey: event.metaKey,
639
+ });
640
+ if (target === null)
641
+ return;
642
+ const fresh = this.freshElement()?.nativeElement;
643
+ if (target === from && event.key === 'PageUp' && fresh !== undefined) {
644
+ event.preventDefault();
645
+ fresh.focus();
646
+ return;
647
+ }
648
+ event.preventDefault();
649
+ if (typeof target === 'number') {
650
+ all[target]?.focus();
651
+ return;
652
+ }
653
+ const page = tabbables(feed.ownerDocument.body);
654
+ const outside = target === 'after'
655
+ ? page.find((candidate) => feed.compareDocumentPosition(candidate) & Node.DOCUMENT_POSITION_FOLLOWING &&
656
+ !feed.contains(candidate))
657
+ : [...page]
658
+ .reverse()
659
+ .find((candidate) => feed.compareDocumentPosition(candidate) & Node.DOCUMENT_POSITION_PRECEDING &&
660
+ !feed.contains(candidate));
661
+ outside?.focus();
662
+ }
663
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenter, deps: [], target: i0.ɵɵFactoryTarget.Component });
664
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlNotificationCenter, isStandalone: true, selector: "[slNotificationCenter]", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, views: { classPropertyName: "views", publicName: "views", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, growing: { classPropertyName: "growing", publicName: "growing", isSignal: true, isRequired: false, transformFunction: null }, arrivals: { classPropertyName: "arrivals", publicName: "arrivals", isSignal: true, isRequired: false, transformFunction: null }, timeFormat: { classPropertyName: "timeFormat", publicName: "timeFormat", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, timeZone: { classPropertyName: "timeZone", publicName: "timeZone", isSignal: true, isRequired: false, transformFunction: null }, now: { classPropertyName: "now", publicName: "now", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, count: { classPropertyName: "count", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, groupBy: { classPropertyName: "groupBy", publicName: "groupBy", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, defaultView: { classPropertyName: "defaultView", publicName: "defaultView", isSignal: true, isRequired: false, transformFunction: null }, view: { classPropertyName: "view", publicName: "view", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { view: "viewChange", viewRequest: "viewRequest", readRequest: "readRequest", removeRequest: "removeRequest", openRequest: "openRequest", revealRequest: "revealRequest", loadMoreRequest: "loadMoreRequest", unreadChange: "unreadChange" }, host: { attributes: { "data-ui": "notification-center", "data-part": "root" }, properties: { "attr.data-size": "sizeValue()", "attr.data-level": "levelValue()", "attr.data-growing": "growingValue()", "attr.data-arrivals": "arrivalsValue()", "attr.data-time-format": "timeFormatValue()", "attr.data-controls": "controlsValue()", "attr.data-view": "currentView()", "attr.data-loading": "loading() ? '' : null", "attr.aria-labelledby": "labelledBy()" } }, queries: [{ propertyName: "itemTemplate", first: true, predicate: SlNotificationItem, descendants: true, isSignal: true }, { propertyName: "visualTemplate", first: true, predicate: SlNotificationVisual, descendants: true, isSignal: true }, { propertyName: "actionsTemplate", first: true, predicate: SlNotificationActions, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "feedElement", first: true, predicate: ["feed"], descendants: true, isSignal: true }, { propertyName: "freshElement", first: true, predicate: ["fresh"], descendants: true, isSignal: true }, { propertyName: "moreElement", first: true, predicate: ["more"], descendants: true, isSignal: true }], exportAs: ["slNotificationCenter"], ngImport: i0, template: `
665
+ <div data-part="header">
666
+ @switch (levelValue()) {
667
+ @case ('3') {
668
+ <h3 data-part="title" [id]="titleId">
669
+ {{ t('title') }}
670
+ @if (unread() > 0) {
671
+ <span data-part="count">{{ unread() }}</span>
672
+ }
673
+ </h3>
674
+ }
675
+ @case ('4') {
676
+ <h4 data-part="title" [id]="titleId">
677
+ {{ t('title') }}
678
+ @if (unread() > 0) {
679
+ <span data-part="count">{{ unread() }}</span>
680
+ }
681
+ </h4>
682
+ }
683
+ @default {
684
+ <h2 data-part="title" [id]="titleId">
685
+ {{ t('title') }}
686
+ @if (unread() > 0) {
687
+ <span data-part="count">{{ unread() }}</span>
688
+ }
689
+ </h2>
690
+ }
691
+ }
692
+ <span data-part="mark-all">
693
+ <button
694
+ slButton
695
+ size="sm"
696
+ tone="secondary"
697
+ variant="ghost"
698
+ type="button"
699
+ [disabled]="unread() === 0"
700
+ (click)="markAll($event)"
701
+ >
702
+ {{ t('markAll') }}
703
+ </button>
704
+ </span>
705
+ <ng-content select="[slNotificationCenterActions]" />
706
+ </div>
707
+ @if (viewList().length > 1) {
708
+ <div data-part="views">
709
+ <div
710
+ slTabs
711
+ track="none"
712
+ [size]="sizeValue()"
713
+ [value]="currentView()"
714
+ (valueChange)="forwardView($event)"
715
+ >
716
+ <div slTabList [attr.aria-label]="t('views')">
717
+ @for (entry of viewList(); track entry.value) {
718
+ <div slTab [value]="entry.value" [controls]="feedId">
719
+ {{ entry.label }}
720
+ @if (entry.count !== undefined && entry.count > 0) {
721
+ &ngsp;<span data-part="count">{{ entry.count }}</span>
722
+ }
723
+ </div>
724
+ }
725
+ </div>
726
+ </div>
727
+ </div>
728
+ }
729
+ @if (held().length > 0) {
730
+ <button #fresh data-part="fresh" type="button" (click)="reveal(pressReason($event), $event)">
731
+ {{ t('fresh', { count: held().length }) }}
732
+ </button>
733
+ }
734
+ <div
735
+ #feed
736
+ data-part="feed"
737
+ role="feed"
738
+ [id]="feedId"
739
+ [attr.aria-labelledby]="titleId"
740
+ [attr.aria-busy]="loading() ? 'true' : null"
741
+ (keydown)="onFeedKeydown($event)"
742
+ >
743
+ @if (waiting()) {
744
+ @for (row of waitingRows; track row) {
745
+ <div data-part="item" aria-hidden="true">
746
+ <span data-part="visual"><span slSkeleton shape="circle" size="sm"></span></span>
747
+ <div data-part="content"><span slSkeletonText [lines]="2"></span></div>
748
+ </div>
749
+ }
750
+ } @else if (groupBy() === undefined) {
751
+ @for (item of visibleItems(); track item.key; let index = $index) {
752
+ <ng-container
753
+ [ngTemplateOutlet]="article"
754
+ [ngTemplateOutletContext]="{ $implicit: item, position: index + 1 }"
755
+ />
756
+ }
757
+ } @else {
758
+ @for (group of groups(); track group.label; let offset = $index) {
759
+ <div data-part="group">
760
+ @switch (levelValue()) {
761
+ @case ('3') {
762
+ <h4 data-part="group-label">{{ group.label }}</h4>
763
+ }
764
+ @case ('4') {
765
+ <h5 data-part="group-label">{{ group.label }}</h5>
766
+ }
767
+ @default {
768
+ <h3 data-part="group-label">{{ group.label }}</h3>
769
+ }
770
+ }
771
+ @for (item of group.items; track item.key; let index = $index) {
772
+ <ng-container
773
+ [ngTemplateOutlet]="article"
774
+ [ngTemplateOutletContext]="{ $implicit: item, position: positionOf(group, index) }"
775
+ />
776
+ }
777
+ </div>
778
+ }
779
+ }
780
+ </div>
781
+ @if (showEmpty()) {
782
+ <div data-part="empty">
783
+ <ng-content select="[slNotificationCenterEmpty]">{{ emptyWords() }}</ng-content>
784
+ </div>
785
+ } @else if (growingValue() !== 'none') {
786
+ @if (loading()) {
787
+ <div #more aria-live="polite" data-part="more">{{ t('loading') }}</div>
788
+ } @else if (growingValue() === 'button') {
789
+ <button #more data-part="more" type="button" (click)="loadMore($event)">
790
+ {{ t('loadMore') }}
791
+ </button>
792
+ } @else {
793
+ <div #more data-part="more"></div>
794
+ }
795
+ }
796
+ <ng-content select="[slNotificationCenterFooter]" />
797
+
798
+ <ng-template #article let-item let-position="position">
799
+ @let context = contextOf(item, position);
800
+ <article
801
+ data-part="item"
802
+ tabindex="0"
803
+ [attr.data-key]="item.key"
804
+ [attr.data-tone]="context.tone"
805
+ [attr.data-read]="item.read ? '' : null"
806
+ [attr.aria-labelledby]="context.ids.title"
807
+ [attr.aria-describedby]="item.description ? context.ids.description : null"
808
+ [attr.aria-posinset]="position"
809
+ [attr.aria-setsize]="setSize()"
810
+ >
811
+ @if (visualTemplate(); as visual) {
812
+ <span data-part="visual" [attr.data-tone]="item.tone ?? null">
813
+ <ng-container
814
+ [ngTemplateOutlet]="visual.template"
815
+ [ngTemplateOutletContext]="context"
816
+ />
817
+ </span>
818
+ } @else if (item.tone !== undefined) {
819
+ <span data-part="visual" [attr.data-tone]="item.tone"
820
+ ><span slIcon data-tone-glyph=""><svg slGlyph [name]="toneGlyph(item.tone)"></svg></span
821
+ ></span>
822
+ }
823
+ <div data-part="content">
824
+ @if (itemTemplate(); as own) {
825
+ <ng-container [ngTemplateOutlet]="own.template" [ngTemplateOutletContext]="context" />
826
+ } @else {
827
+ @if (item.href === undefined) {
828
+ <span data-part="title" [id]="context.ids.title">{{ item.title }}</span>
829
+ } @else {
830
+ <a
831
+ data-part="title"
832
+ [id]="context.ids.title"
833
+ [attr.href]="item.href"
834
+ (click)="open(item.key, $event)"
835
+ >{{ item.title }}</a
836
+ >
837
+ }
838
+ @if (item.description) {
839
+ <p data-part="description" [id]="context.ids.description">{{ item.description }}</p>
840
+ }
841
+ <time
842
+ data-part="time"
843
+ [attr.datetime]="context.time.dateTime"
844
+ [attr.title]="context.time.title"
845
+ >{{ context.time.text }}</time
846
+ >
847
+ @if (actionsTemplate(); as actions) {
848
+ <div data-part="actions">
849
+ <ng-container
850
+ [ngTemplateOutlet]="actions.template"
851
+ [ngTemplateOutletContext]="context"
852
+ />
853
+ </div>
854
+ }
855
+ }
856
+ </div>
857
+ @if (controlsValue() !== 'none') {
858
+ <div data-part="controls">
859
+ @if (controlsValue() !== 'dismiss') {
860
+ <button
861
+ slNotificationControl
862
+ data-part="read-toggle"
863
+ [text]="item.read ? t('markUnread') : t('markRead')"
864
+ (click)="requestRead([item.key], !item.read, pressReason($event), $event)"
865
+ >
866
+ <span slIcon><svg slGlyph [name]="item.read ? 'dot' : 'check'"></svg></span>
867
+ </button>
868
+ }
869
+ @if (controlsValue() !== 'read') {
870
+ <button
871
+ slNotificationControl
872
+ data-part="dismiss"
873
+ [text]="t('dismiss')"
874
+ (click)="remove(item.key, pressReason($event), $event)"
875
+ >
876
+ <span slIcon><svg slGlyph name="x"></svg></span>
877
+ </button>
878
+ }
879
+ </div>
880
+ }
881
+ </article>
882
+ </ng-template>
883
+ `, isInline: true, styles: ["@layer slotted.components{[data-ui=notification-center]{--_text: var(--slotted-text, CanvasText);--_muted: var(--slotted-text-muted, GrayText);--_rule: var(--slotted-notification-center-border, var(--slotted-border-subtle, ButtonBorder));--_ground: var(--slotted-notification-center-background, var(--slotted-surface, Canvas));--_hover: var(--slotted-tone-secondary-subtle-hover, ButtonFace);--_active: var(--slotted-tone-secondary-subtle-active, ButtonFace);--_tone-solid: var(--slotted-tone-accent-solid, Highlight);--_tone-text: var(--slotted-tone-accent-text, Highlight);--_tone-surface: var(--slotted-tone-accent-surface, Canvas);--_unread-ground: color-mix( in oklab, var(--_tone-text) calc(var(--slotted-highlight-tint-opacity, .075) * 100%), transparent );--_inset-inline: var( --slotted-notification-center-inset-inline-md, var(--slotted-space-6, 1rem) );--_inset-block: var( --slotted-notification-center-inset-block-md, var(--slotted-space-5, .75rem) );--_gap: var(--slotted-notification-center-gap-md, var(--slotted-space-5, .75rem));--_title-size: var( --slotted-notification-center-title-size-md, var(--slotted-font-size-lg, 1rem) );--_title-line-height: var(--slotted-line-height-lg, 1.5);--_item-title-size: var(--slotted-font-size-md, .875rem);--_item-title-line-height: var(--slotted-line-height-md, 1.5);--_meta-size: var(--slotted-font-size-sm, .8125rem);--_meta-line-height: var(--slotted-line-height-sm, 1.45);--_visual: var(--slotted-avatar-size-sm, 28px);--_visual-glyph: calc(var(--_visual) * 6 / 7);--_count-size: var(--slotted-font-size-xs, .75rem);--_count-box: calc( var(--_count-size) + 2 * var(--slotted-space-1, .125rem) + 2 * var(--slotted-border-width-thin, 1px) );--_glyph: var(--slotted-control-icon-size-sm, 14px);--_control: min( calc(var(--_glyph) + 2 * var(--slotted-space-2, .25rem)), var(--slotted-control-inner-size-md, 24px) );--_rule-size: var(--slotted-border-width-thin, 1px);--_duration: var(--slotted-control-transition-duration);--_easing: var(--slotted-control-transition-easing);--_scrollbar-thumb: var( --slotted-notification-center-scrollbar-thumb-color, var(--slotted-border-strong, ButtonBorder) );--_scrollbar-track: var(--slotted-notification-center-scrollbar-track-color, transparent);background-color:var(--_ground);color:var(--_text);container-name:notification-center;container-type:inline-size;display:flex;flex-direction:column;font-family:var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif);min-inline-size:0}[data-ui=notification-center][data-size=sm]{min-inline-size:var( --slotted-notification-center-min-inline-size-sm, min(22rem, calc(100vw - var(--slotted-space-8, 2rem))) );--_inset-inline: var( --slotted-notification-center-inset-inline-sm, var(--slotted-space-5, .75rem) );--_inset-block: var( --slotted-notification-center-inset-block-sm, var(--slotted-space-4, .5rem) );--_gap: var(--slotted-notification-center-gap-sm, var(--slotted-space-4, .5rem));--_title-size: var( --slotted-notification-center-title-size-sm, var(--slotted-font-size-md, .875rem) );--_title-line-height: var(--slotted-line-height-md, 1.5);--_item-title-size: var(--slotted-font-size-sm, .8125rem);--_item-title-line-height: var(--slotted-line-height-sm, 1.45);--_meta-size: var(--slotted-font-size-xs, .75rem);--_meta-line-height: var(--slotted-line-height-xs, 1.4);--_control: min( calc(var(--_glyph) + 2 * var(--slotted-space-2, .25rem)), var(--slotted-control-inner-size-sm, 22px) );--_visual: var(--slotted-avatar-size-xs, 24px);--_visual-glyph: calc(var(--_visual) * 6 / 7)}[data-ui=notification-center]>[data-part=header]{align-items:center;border-block-end:var(--_rule-size) solid var(--_rule);display:flex;flex-wrap:wrap;gap:var(--slotted-space-3, .375rem) var(--_gap);justify-content:flex-end;min-inline-size:0;padding-block:var(--_inset-block);padding-inline:var(--_inset-inline)}[data-ui=notification-center]>[data-part=header]>[data-part=title]{align-items:center;color:var(--_text);display:inline-flex;font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );font-size:var(--_title-size);font-weight:var(--slotted-font-weight-semibold, 600);gap:var(--slotted-space-3, .375rem);letter-spacing:-.01em;line-height:var(--_title-line-height);margin:0;margin-inline-end:auto;min-inline-size:0}[data-ui=notification-center] [data-part=count]{align-items:center;background-color:var(--slotted-surface-sunken, Canvas);block-size:var(--_count-box);border-radius:var(--slotted-radius-full, 9999px);border:var(--slotted-border-width-thin, 1px) solid color-mix(in oklab,currentcolor 20%,transparent);box-sizing:border-box;color:var(--_muted);display:inline-flex;font-size:var(--_count-size);font-variant-numeric:tabular-nums;font-weight:var(--slotted-font-weight-semibold, 600);justify-content:center;line-height:1;min-inline-size:var(--_count-box);padding-block:0;padding-inline:var(--slotted-space-2, .25rem)}[data-ui=notification-center]>[data-part=header]>[data-part=title]>[data-part=count]{background-color:var(--slotted-tone-accent-surface, Canvas);color:var(--slotted-tone-accent-text, Highlight)}[data-ui=notification-center]>[data-part=header]>[data-part=mark-all]{display:inline-flex}[data-ui=notification-center]>[data-part=header]>[data-part=actions]{align-items:center;display:inline-flex;font-size:var(--_meta-size);gap:var(--slotted-control-gap-sm, 6px);line-height:var(--_meta-line-height)}[data-ui=notification-center]>[data-part=views]{border-block-end:var(--_rule-size) solid var(--_rule);min-inline-size:0;padding-inline:var(--_inset-inline)}[data-ui=notification-center]>[data-part=fresh],[data-ui=notification-center]>button[data-part=more]{align-items:center;appearance:none;background-color:var(--_ground);border:var(--_rule-size) solid var(--_rule);border-radius:var(--slotted-radius-full, 9999px);color:var(--_text);cursor:pointer;display:flex;font:inherit;font-size:var(--_meta-size);font-weight:var(--slotted-font-weight-medium, 500);gap:var(--slotted-control-gap-sm, 6px);inline-size:fit-content;justify-content:center;line-height:var(--slotted-control-line-height, 1);margin-block:var(--_inset-block);margin-inline:auto;min-block-size:var(--slotted-control-height-sm, 30px);padding-inline:var(--slotted-control-padding-inline-md, 13px);transition:background-color var(--_duration) var(--_easing),border-color var(--_duration) var(--_easing),color var(--_duration) var(--_easing)}[data-ui=notification-center]>[data-part=fresh]{background-color:var(--slotted-tone-accent-surface, Canvas);border-color:var(--slotted-tone-accent-border, Highlight);color:var(--slotted-tone-accent-text, Highlight)}[data-ui=notification-center]>[data-part=fresh]:enabled:hover{background-color:var(--slotted-tone-accent-subtle-hover, Canvas)}[data-ui=notification-center]>[data-part=fresh]:enabled:active{background-color:var(--slotted-tone-accent-subtle-active, Canvas)}[data-ui=notification-center]>button[data-part=more]:enabled:hover{background-color:var(--_hover)}[data-ui=notification-center]>button[data-part=more]:enabled:active{background-color:var(--_active)}[data-ui=notification-center]>button[data-part=more]:disabled{color:var(--slotted-disabled-foreground, GrayText);cursor:default}[data-ui=notification-center]>div[data-part=more]{color:var(--_muted);font-size:var(--_meta-size);line-height:var(--_meta-line-height);min-block-size:var(--slotted-space-6, 1rem);padding-block:var(--_inset-block);padding-inline:var(--_inset-inline);text-align:center}[data-ui=notification-center]>[data-part=fresh]:focus-visible,[data-ui=notification-center]>button[data-part=more]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=notification-center]>[data-part=feed]{display:flex;flex:1 1 auto;flex-direction:column;min-block-size:0;min-inline-size:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--_scrollbar-thumb) var(--_scrollbar-track);scrollbar-gutter:stable;scrollbar-width:thin}[data-ui=notification-center]>[data-part=feed]:has(+[data-part=footer])>[data-part=item]:last-child,[data-ui=notification-center]>[data-part=feed]:has(+[data-part=footer])>[data-part=group]:last-child>[data-part=item]:last-child{border-block-end:0}[data-ui=notification-center]>[data-part=feed]>[data-part=group]{display:flex;flex-direction:column;min-inline-size:0}[data-ui=notification-center]>[data-part=feed]>[data-part=group]>[data-part=group-label]{color:var(--_muted);font-size:var(--slotted-font-size-xs, .75rem);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--slotted-line-height-xs, 1.4);margin:0;padding-block:var(--_inset-block) var(--slotted-space-2, .25rem);padding-inline:var(--_inset-inline);text-transform:uppercase}[data-ui=notification-center]>[data-part=feed] [data-part=item]{align-items:flex-start;border-block-end:var(--_rule-size) solid var(--_rule);display:grid;gap:0 var(--slotted-space-4, .5rem);grid-template-columns:auto minmax(0,1fr) auto;min-inline-size:0;padding-block:var(--_inset-block);padding-inline:var(--_inset-inline);position:relative;transition:background-color var(--_duration) var(--_easing)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=secondary]{--_tone-solid: var(--slotted-tone-secondary-solid, ButtonText);--_tone-text: var(--slotted-tone-secondary-text, ButtonText);--_tone-surface: var(--slotted-tone-secondary-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=success]{--_tone-solid: var(--slotted-tone-success-solid, ButtonText);--_tone-text: var(--slotted-tone-success-text, ButtonText);--_tone-surface: var(--slotted-tone-success-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=warning]{--_tone-solid: var(--slotted-tone-warning-solid, ButtonText);--_tone-text: var(--slotted-tone-warning-text, ButtonText);--_tone-surface: var(--slotted-tone-warning-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=danger]{--_tone-solid: var(--slotted-tone-danger-solid, ButtonText);--_tone-text: var(--slotted-tone-danger-text, ButtonText);--_tone-surface: var(--slotted-tone-danger-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not([data-read]){background-color:var(--_unread-ground)}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not([data-disabled]):hover{background-color:var(--_hover)}[data-ui=notification-center]>[data-part=feed] [data-part=item]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=visual]{align-items:center;display:flex;grid-column:1;justify-content:center;min-inline-size:0}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not(:has(>[data-part=visual]))>[data-part=content]{grid-column:1 / 3}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=visual]:empty:not([data-tone]){display:none}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=visual][data-tone]:has(>[data-tone-glyph]){--slotted-icon-size: var(--_visual-glyph);align-items:center;background-image:radial-gradient(circle,var(--_tone-surface) calc(var(--_visual-glyph) * 9.5 / 24 - .5px),transparent calc(var(--_visual-glyph) * 9.5 / 24 + .5px));block-size:var(--_visual);color:var(--_tone-text);display:flex;inline-size:var(--_visual);justify-content:center}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]{display:flex;flex-direction:column;font-size:var(--_item-title-size);gap:var(--slotted-space-1, .125rem);grid-column:2;line-height:var(--_item-title-line-height);margin-block-start:max(0px,calc((var(--_visual) - 1lh) / 2));min-inline-size:0}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=title]{-webkit-box-orient:vertical;-webkit-line-clamp:var(--slotted-notification-center-title-clamp, 2);color:var(--_text);display:-webkit-box;font-size:var(--_item-title-size);font-weight:var(--slotted-font-weight-medium, 500);line-height:var(--_item-title-line-height);margin:0;overflow:hidden;overflow-wrap:anywhere;text-decoration:none}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not([data-read])>[data-part=content]>[data-part=title]{font-weight:var(--slotted-font-weight-semibold, 600)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>a[data-part=title]:after{content:\"\";inset:0;position:absolute}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>a[data-part=title]:not([data-disabled]):hover{text-decoration:underline;text-underline-offset:.15em}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>a[data-part=title]:focus-visible{outline:none}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=description]{-webkit-box-orient:vertical;-webkit-line-clamp:var(--slotted-notification-center-description-clamp, 3);color:var(--_muted);display:-webkit-box;font-size:var(--_meta-size);line-height:var(--_meta-line-height);margin:0;overflow:hidden;overflow-wrap:anywhere}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=time]{color:var(--_muted);font-size:var(--_meta-size);font-variant-numeric:tabular-nums;line-height:var(--_meta-line-height)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=actions]{align-items:center;display:flex;flex-wrap:wrap;gap:var(--slotted-control-gap-sm, 6px);margin-block-start:var(--slotted-space-2, .25rem);position:relative;z-index:1}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]{display:flex;gap:var(--slotted-space-1, .125rem);grid-column:3;margin-block-start:max(0px,calc((var(--_visual) - var(--_control)) / 2));position:relative;z-index:1}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button{--slotted-icon-size: var(--_glyph);align-items:center;appearance:none;background:none;block-size:var(--_control);border:0;border-radius:var(--slotted-control-radius, 4px);color:var(--_muted);cursor:pointer;display:inline-flex;font:inherit;inline-size:var(--_control);justify-content:center;padding:0;position:relative;transition:color var(--_duration) var(--_easing),background-color var(--_duration) var(--_easing)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:before{block-size:max(var(--_control),var(--slotted-target-min, 24px));content:\"\";inline-size:max(var(--_control),var(--slotted-target-min, 24px));inset-block-start:50%;inset-inline-start:50%;position:absolute;translate:-50% -50%}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:enabled:hover{background-color:var(--_hover);color:var(--_text)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:enabled:active{background-color:var(--_active)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=notification-center][data-controls=read]>[data-part=feed] [data-part=item]>[data-part=controls]>[data-part=dismiss],[data-ui=notification-center][data-controls=dismiss]>[data-part=feed] [data-part=item]>[data-part=controls]>[data-part=read-toggle],[data-ui=notification-center][data-controls=none]>[data-part=feed] [data-part=item]>[data-part=controls]{display:none}[data-ui=notification-center]>[data-part=feed]>[data-part=item][aria-hidden]{background-color:transparent}[data-ui=notification-center]>[data-part=empty]{color:var(--_muted);display:grid;font-size:var(--_meta-size);line-height:var(--_meta-line-height);min-block-size:calc(2 * var(--slotted-space-12, 4rem));padding-block:var(--_inset-block);padding-inline:var(--_inset-inline);place-items:center;text-align:center}[data-ui=notification-center]>[data-part=footer]{align-items:center;border-block-start:var(--_rule-size) solid var(--_rule);display:flex;font-size:var(--_meta-size);gap:var(--_gap);justify-content:center;line-height:var(--_meta-line-height);margin-block-start:auto;padding-block:var(--_inset-block);padding-inline:var(--_inset-inline)}@container notification-center (max-width: 319px){[data-ui=notification-center]>[data-part=feed] [data-part=item]{grid-template-columns:auto minmax(0,1fr)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]{grid-column:2;justify-content:flex-end;margin-block-start:var(--slotted-space-2, .25rem)}}@media(pointer:coarse){[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]{--_control: var(--slotted-target-comfortable, 44px);margin-block-start:calc((var(--_visual) - var(--_control)) / 2)}}@media(forced-colors:active){[data-ui=notification-center] [data-part=count]{background-color:Highlight;border-color:Highlight;color:HighlightText;forced-color-adjust:none}}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SlButton, selector: "button[slButton]", inputs: ["disabled", "focusableWhenDisabled", "fullWidth", "loading", "loadingDelay", "messages", "size", "tone", "type", "variant"], exportAs: ["slButton"] }, { kind: "component", type: SlGlyph, selector: "svg[slGlyph]", inputs: ["name", "solid"] }, { kind: "component", type: SlIcon, selector: "[slIcon]", inputs: ["directional", "label", "size", "tone"], exportAs: ["slIcon"] }, { kind: "component", type: SlNotificationControl, selector: "button[slNotificationControl]", inputs: ["text"] }, { kind: "component", type: SlSkeleton, selector: "[slSkeleton]", inputs: ["shape", "size", "animation", "loading", "inlineSize", "blockSize"], exportAs: ["slSkeleton"] }, { kind: "component", type: SlSkeletonText, selector: "[slSkeletonText]", inputs: ["lines", "animation", "loading", "lastLineSize", "inlineSize"], exportAs: ["slSkeletonText"] }, { kind: "component", type: SlTab, selector: "[slTab]", inputs: ["value", "disabled", "dismissible", "dismissLabel", "href", "controls"], exportAs: ["slTab"] }, { kind: "directive", type: SlTabList, selector: "[slTabList]", exportAs: ["slTabList"] }, { kind: "component", type: SlTabs, selector: "[slTabs]", inputs: ["value", "defaultValue", "activation", "orientation", "size", "variant", "track", "fit", "mount", "loop", "disabled"], outputs: ["valueChange", "tabDismiss"], exportAs: ["slTabs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
884
+ }
885
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenter, decorators: [{
886
+ type: Component,
887
+ args: [{ selector: '[slNotificationCenter]', standalone: true, imports: [
888
+ NgTemplateOutlet,
889
+ SlButton,
890
+ SlGlyph,
891
+ SlIcon,
892
+ SlNotificationControl,
893
+ SlSkeleton,
894
+ SlSkeletonText,
895
+ SlTab,
896
+ SlTabList,
897
+ SlTabs,
898
+ ], template: `
899
+ <div data-part="header">
900
+ @switch (levelValue()) {
901
+ @case ('3') {
902
+ <h3 data-part="title" [id]="titleId">
903
+ {{ t('title') }}
904
+ @if (unread() > 0) {
905
+ <span data-part="count">{{ unread() }}</span>
906
+ }
907
+ </h3>
908
+ }
909
+ @case ('4') {
910
+ <h4 data-part="title" [id]="titleId">
911
+ {{ t('title') }}
912
+ @if (unread() > 0) {
913
+ <span data-part="count">{{ unread() }}</span>
914
+ }
915
+ </h4>
916
+ }
917
+ @default {
918
+ <h2 data-part="title" [id]="titleId">
919
+ {{ t('title') }}
920
+ @if (unread() > 0) {
921
+ <span data-part="count">{{ unread() }}</span>
922
+ }
923
+ </h2>
924
+ }
925
+ }
926
+ <span data-part="mark-all">
927
+ <button
928
+ slButton
929
+ size="sm"
930
+ tone="secondary"
931
+ variant="ghost"
932
+ type="button"
933
+ [disabled]="unread() === 0"
934
+ (click)="markAll($event)"
935
+ >
936
+ {{ t('markAll') }}
937
+ </button>
938
+ </span>
939
+ <ng-content select="[slNotificationCenterActions]" />
940
+ </div>
941
+ @if (viewList().length > 1) {
942
+ <div data-part="views">
943
+ <div
944
+ slTabs
945
+ track="none"
946
+ [size]="sizeValue()"
947
+ [value]="currentView()"
948
+ (valueChange)="forwardView($event)"
949
+ >
950
+ <div slTabList [attr.aria-label]="t('views')">
951
+ @for (entry of viewList(); track entry.value) {
952
+ <div slTab [value]="entry.value" [controls]="feedId">
953
+ {{ entry.label }}
954
+ @if (entry.count !== undefined && entry.count > 0) {
955
+ &ngsp;<span data-part="count">{{ entry.count }}</span>
956
+ }
957
+ </div>
958
+ }
959
+ </div>
960
+ </div>
961
+ </div>
962
+ }
963
+ @if (held().length > 0) {
964
+ <button #fresh data-part="fresh" type="button" (click)="reveal(pressReason($event), $event)">
965
+ {{ t('fresh', { count: held().length }) }}
966
+ </button>
967
+ }
968
+ <div
969
+ #feed
970
+ data-part="feed"
971
+ role="feed"
972
+ [id]="feedId"
973
+ [attr.aria-labelledby]="titleId"
974
+ [attr.aria-busy]="loading() ? 'true' : null"
975
+ (keydown)="onFeedKeydown($event)"
976
+ >
977
+ @if (waiting()) {
978
+ @for (row of waitingRows; track row) {
979
+ <div data-part="item" aria-hidden="true">
980
+ <span data-part="visual"><span slSkeleton shape="circle" size="sm"></span></span>
981
+ <div data-part="content"><span slSkeletonText [lines]="2"></span></div>
982
+ </div>
983
+ }
984
+ } @else if (groupBy() === undefined) {
985
+ @for (item of visibleItems(); track item.key; let index = $index) {
986
+ <ng-container
987
+ [ngTemplateOutlet]="article"
988
+ [ngTemplateOutletContext]="{ $implicit: item, position: index + 1 }"
989
+ />
990
+ }
991
+ } @else {
992
+ @for (group of groups(); track group.label; let offset = $index) {
993
+ <div data-part="group">
994
+ @switch (levelValue()) {
995
+ @case ('3') {
996
+ <h4 data-part="group-label">{{ group.label }}</h4>
997
+ }
998
+ @case ('4') {
999
+ <h5 data-part="group-label">{{ group.label }}</h5>
1000
+ }
1001
+ @default {
1002
+ <h3 data-part="group-label">{{ group.label }}</h3>
1003
+ }
1004
+ }
1005
+ @for (item of group.items; track item.key; let index = $index) {
1006
+ <ng-container
1007
+ [ngTemplateOutlet]="article"
1008
+ [ngTemplateOutletContext]="{ $implicit: item, position: positionOf(group, index) }"
1009
+ />
1010
+ }
1011
+ </div>
1012
+ }
1013
+ }
1014
+ </div>
1015
+ @if (showEmpty()) {
1016
+ <div data-part="empty">
1017
+ <ng-content select="[slNotificationCenterEmpty]">{{ emptyWords() }}</ng-content>
1018
+ </div>
1019
+ } @else if (growingValue() !== 'none') {
1020
+ @if (loading()) {
1021
+ <div #more aria-live="polite" data-part="more">{{ t('loading') }}</div>
1022
+ } @else if (growingValue() === 'button') {
1023
+ <button #more data-part="more" type="button" (click)="loadMore($event)">
1024
+ {{ t('loadMore') }}
1025
+ </button>
1026
+ } @else {
1027
+ <div #more data-part="more"></div>
1028
+ }
1029
+ }
1030
+ <ng-content select="[slNotificationCenterFooter]" />
1031
+
1032
+ <ng-template #article let-item let-position="position">
1033
+ @let context = contextOf(item, position);
1034
+ <article
1035
+ data-part="item"
1036
+ tabindex="0"
1037
+ [attr.data-key]="item.key"
1038
+ [attr.data-tone]="context.tone"
1039
+ [attr.data-read]="item.read ? '' : null"
1040
+ [attr.aria-labelledby]="context.ids.title"
1041
+ [attr.aria-describedby]="item.description ? context.ids.description : null"
1042
+ [attr.aria-posinset]="position"
1043
+ [attr.aria-setsize]="setSize()"
1044
+ >
1045
+ @if (visualTemplate(); as visual) {
1046
+ <span data-part="visual" [attr.data-tone]="item.tone ?? null">
1047
+ <ng-container
1048
+ [ngTemplateOutlet]="visual.template"
1049
+ [ngTemplateOutletContext]="context"
1050
+ />
1051
+ </span>
1052
+ } @else if (item.tone !== undefined) {
1053
+ <span data-part="visual" [attr.data-tone]="item.tone"
1054
+ ><span slIcon data-tone-glyph=""><svg slGlyph [name]="toneGlyph(item.tone)"></svg></span
1055
+ ></span>
1056
+ }
1057
+ <div data-part="content">
1058
+ @if (itemTemplate(); as own) {
1059
+ <ng-container [ngTemplateOutlet]="own.template" [ngTemplateOutletContext]="context" />
1060
+ } @else {
1061
+ @if (item.href === undefined) {
1062
+ <span data-part="title" [id]="context.ids.title">{{ item.title }}</span>
1063
+ } @else {
1064
+ <a
1065
+ data-part="title"
1066
+ [id]="context.ids.title"
1067
+ [attr.href]="item.href"
1068
+ (click)="open(item.key, $event)"
1069
+ >{{ item.title }}</a
1070
+ >
1071
+ }
1072
+ @if (item.description) {
1073
+ <p data-part="description" [id]="context.ids.description">{{ item.description }}</p>
1074
+ }
1075
+ <time
1076
+ data-part="time"
1077
+ [attr.datetime]="context.time.dateTime"
1078
+ [attr.title]="context.time.title"
1079
+ >{{ context.time.text }}</time
1080
+ >
1081
+ @if (actionsTemplate(); as actions) {
1082
+ <div data-part="actions">
1083
+ <ng-container
1084
+ [ngTemplateOutlet]="actions.template"
1085
+ [ngTemplateOutletContext]="context"
1086
+ />
1087
+ </div>
1088
+ }
1089
+ }
1090
+ </div>
1091
+ @if (controlsValue() !== 'none') {
1092
+ <div data-part="controls">
1093
+ @if (controlsValue() !== 'dismiss') {
1094
+ <button
1095
+ slNotificationControl
1096
+ data-part="read-toggle"
1097
+ [text]="item.read ? t('markUnread') : t('markRead')"
1098
+ (click)="requestRead([item.key], !item.read, pressReason($event), $event)"
1099
+ >
1100
+ <span slIcon><svg slGlyph [name]="item.read ? 'dot' : 'check'"></svg></span>
1101
+ </button>
1102
+ }
1103
+ @if (controlsValue() !== 'read') {
1104
+ <button
1105
+ slNotificationControl
1106
+ data-part="dismiss"
1107
+ [text]="t('dismiss')"
1108
+ (click)="remove(item.key, pressReason($event), $event)"
1109
+ >
1110
+ <span slIcon><svg slGlyph name="x"></svg></span>
1111
+ </button>
1112
+ }
1113
+ </div>
1114
+ }
1115
+ </article>
1116
+ </ng-template>
1117
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'slNotificationCenter', host: {
1118
+ 'data-ui': 'notification-center',
1119
+ 'data-part': 'root',
1120
+ '[attr.data-size]': 'sizeValue()',
1121
+ '[attr.data-level]': 'levelValue()',
1122
+ '[attr.data-growing]': 'growingValue()',
1123
+ '[attr.data-arrivals]': 'arrivalsValue()',
1124
+ '[attr.data-time-format]': 'timeFormatValue()',
1125
+ '[attr.data-controls]': 'controlsValue()',
1126
+ '[attr.data-view]': 'currentView()',
1127
+ '[attr.data-loading]': "loading() ? '' : null",
1128
+ '[attr.aria-labelledby]': 'labelledBy()',
1129
+ }, styles: ["@layer slotted.components{[data-ui=notification-center]{--_text: var(--slotted-text, CanvasText);--_muted: var(--slotted-text-muted, GrayText);--_rule: var(--slotted-notification-center-border, var(--slotted-border-subtle, ButtonBorder));--_ground: var(--slotted-notification-center-background, var(--slotted-surface, Canvas));--_hover: var(--slotted-tone-secondary-subtle-hover, ButtonFace);--_active: var(--slotted-tone-secondary-subtle-active, ButtonFace);--_tone-solid: var(--slotted-tone-accent-solid, Highlight);--_tone-text: var(--slotted-tone-accent-text, Highlight);--_tone-surface: var(--slotted-tone-accent-surface, Canvas);--_unread-ground: color-mix( in oklab, var(--_tone-text) calc(var(--slotted-highlight-tint-opacity, .075) * 100%), transparent );--_inset-inline: var( --slotted-notification-center-inset-inline-md, var(--slotted-space-6, 1rem) );--_inset-block: var( --slotted-notification-center-inset-block-md, var(--slotted-space-5, .75rem) );--_gap: var(--slotted-notification-center-gap-md, var(--slotted-space-5, .75rem));--_title-size: var( --slotted-notification-center-title-size-md, var(--slotted-font-size-lg, 1rem) );--_title-line-height: var(--slotted-line-height-lg, 1.5);--_item-title-size: var(--slotted-font-size-md, .875rem);--_item-title-line-height: var(--slotted-line-height-md, 1.5);--_meta-size: var(--slotted-font-size-sm, .8125rem);--_meta-line-height: var(--slotted-line-height-sm, 1.45);--_visual: var(--slotted-avatar-size-sm, 28px);--_visual-glyph: calc(var(--_visual) * 6 / 7);--_count-size: var(--slotted-font-size-xs, .75rem);--_count-box: calc( var(--_count-size) + 2 * var(--slotted-space-1, .125rem) + 2 * var(--slotted-border-width-thin, 1px) );--_glyph: var(--slotted-control-icon-size-sm, 14px);--_control: min( calc(var(--_glyph) + 2 * var(--slotted-space-2, .25rem)), var(--slotted-control-inner-size-md, 24px) );--_rule-size: var(--slotted-border-width-thin, 1px);--_duration: var(--slotted-control-transition-duration);--_easing: var(--slotted-control-transition-easing);--_scrollbar-thumb: var( --slotted-notification-center-scrollbar-thumb-color, var(--slotted-border-strong, ButtonBorder) );--_scrollbar-track: var(--slotted-notification-center-scrollbar-track-color, transparent);background-color:var(--_ground);color:var(--_text);container-name:notification-center;container-type:inline-size;display:flex;flex-direction:column;font-family:var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif);min-inline-size:0}[data-ui=notification-center][data-size=sm]{min-inline-size:var( --slotted-notification-center-min-inline-size-sm, min(22rem, calc(100vw - var(--slotted-space-8, 2rem))) );--_inset-inline: var( --slotted-notification-center-inset-inline-sm, var(--slotted-space-5, .75rem) );--_inset-block: var( --slotted-notification-center-inset-block-sm, var(--slotted-space-4, .5rem) );--_gap: var(--slotted-notification-center-gap-sm, var(--slotted-space-4, .5rem));--_title-size: var( --slotted-notification-center-title-size-sm, var(--slotted-font-size-md, .875rem) );--_title-line-height: var(--slotted-line-height-md, 1.5);--_item-title-size: var(--slotted-font-size-sm, .8125rem);--_item-title-line-height: var(--slotted-line-height-sm, 1.45);--_meta-size: var(--slotted-font-size-xs, .75rem);--_meta-line-height: var(--slotted-line-height-xs, 1.4);--_control: min( calc(var(--_glyph) + 2 * var(--slotted-space-2, .25rem)), var(--slotted-control-inner-size-sm, 22px) );--_visual: var(--slotted-avatar-size-xs, 24px);--_visual-glyph: calc(var(--_visual) * 6 / 7)}[data-ui=notification-center]>[data-part=header]{align-items:center;border-block-end:var(--_rule-size) solid var(--_rule);display:flex;flex-wrap:wrap;gap:var(--slotted-space-3, .375rem) var(--_gap);justify-content:flex-end;min-inline-size:0;padding-block:var(--_inset-block);padding-inline:var(--_inset-inline)}[data-ui=notification-center]>[data-part=header]>[data-part=title]{align-items:center;color:var(--_text);display:inline-flex;font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );font-size:var(--_title-size);font-weight:var(--slotted-font-weight-semibold, 600);gap:var(--slotted-space-3, .375rem);letter-spacing:-.01em;line-height:var(--_title-line-height);margin:0;margin-inline-end:auto;min-inline-size:0}[data-ui=notification-center] [data-part=count]{align-items:center;background-color:var(--slotted-surface-sunken, Canvas);block-size:var(--_count-box);border-radius:var(--slotted-radius-full, 9999px);border:var(--slotted-border-width-thin, 1px) solid color-mix(in oklab,currentcolor 20%,transparent);box-sizing:border-box;color:var(--_muted);display:inline-flex;font-size:var(--_count-size);font-variant-numeric:tabular-nums;font-weight:var(--slotted-font-weight-semibold, 600);justify-content:center;line-height:1;min-inline-size:var(--_count-box);padding-block:0;padding-inline:var(--slotted-space-2, .25rem)}[data-ui=notification-center]>[data-part=header]>[data-part=title]>[data-part=count]{background-color:var(--slotted-tone-accent-surface, Canvas);color:var(--slotted-tone-accent-text, Highlight)}[data-ui=notification-center]>[data-part=header]>[data-part=mark-all]{display:inline-flex}[data-ui=notification-center]>[data-part=header]>[data-part=actions]{align-items:center;display:inline-flex;font-size:var(--_meta-size);gap:var(--slotted-control-gap-sm, 6px);line-height:var(--_meta-line-height)}[data-ui=notification-center]>[data-part=views]{border-block-end:var(--_rule-size) solid var(--_rule);min-inline-size:0;padding-inline:var(--_inset-inline)}[data-ui=notification-center]>[data-part=fresh],[data-ui=notification-center]>button[data-part=more]{align-items:center;appearance:none;background-color:var(--_ground);border:var(--_rule-size) solid var(--_rule);border-radius:var(--slotted-radius-full, 9999px);color:var(--_text);cursor:pointer;display:flex;font:inherit;font-size:var(--_meta-size);font-weight:var(--slotted-font-weight-medium, 500);gap:var(--slotted-control-gap-sm, 6px);inline-size:fit-content;justify-content:center;line-height:var(--slotted-control-line-height, 1);margin-block:var(--_inset-block);margin-inline:auto;min-block-size:var(--slotted-control-height-sm, 30px);padding-inline:var(--slotted-control-padding-inline-md, 13px);transition:background-color var(--_duration) var(--_easing),border-color var(--_duration) var(--_easing),color var(--_duration) var(--_easing)}[data-ui=notification-center]>[data-part=fresh]{background-color:var(--slotted-tone-accent-surface, Canvas);border-color:var(--slotted-tone-accent-border, Highlight);color:var(--slotted-tone-accent-text, Highlight)}[data-ui=notification-center]>[data-part=fresh]:enabled:hover{background-color:var(--slotted-tone-accent-subtle-hover, Canvas)}[data-ui=notification-center]>[data-part=fresh]:enabled:active{background-color:var(--slotted-tone-accent-subtle-active, Canvas)}[data-ui=notification-center]>button[data-part=more]:enabled:hover{background-color:var(--_hover)}[data-ui=notification-center]>button[data-part=more]:enabled:active{background-color:var(--_active)}[data-ui=notification-center]>button[data-part=more]:disabled{color:var(--slotted-disabled-foreground, GrayText);cursor:default}[data-ui=notification-center]>div[data-part=more]{color:var(--_muted);font-size:var(--_meta-size);line-height:var(--_meta-line-height);min-block-size:var(--slotted-space-6, 1rem);padding-block:var(--_inset-block);padding-inline:var(--_inset-inline);text-align:center}[data-ui=notification-center]>[data-part=fresh]:focus-visible,[data-ui=notification-center]>button[data-part=more]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=notification-center]>[data-part=feed]{display:flex;flex:1 1 auto;flex-direction:column;min-block-size:0;min-inline-size:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--_scrollbar-thumb) var(--_scrollbar-track);scrollbar-gutter:stable;scrollbar-width:thin}[data-ui=notification-center]>[data-part=feed]:has(+[data-part=footer])>[data-part=item]:last-child,[data-ui=notification-center]>[data-part=feed]:has(+[data-part=footer])>[data-part=group]:last-child>[data-part=item]:last-child{border-block-end:0}[data-ui=notification-center]>[data-part=feed]>[data-part=group]{display:flex;flex-direction:column;min-inline-size:0}[data-ui=notification-center]>[data-part=feed]>[data-part=group]>[data-part=group-label]{color:var(--_muted);font-size:var(--slotted-font-size-xs, .75rem);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--slotted-line-height-xs, 1.4);margin:0;padding-block:var(--_inset-block) var(--slotted-space-2, .25rem);padding-inline:var(--_inset-inline);text-transform:uppercase}[data-ui=notification-center]>[data-part=feed] [data-part=item]{align-items:flex-start;border-block-end:var(--_rule-size) solid var(--_rule);display:grid;gap:0 var(--slotted-space-4, .5rem);grid-template-columns:auto minmax(0,1fr) auto;min-inline-size:0;padding-block:var(--_inset-block);padding-inline:var(--_inset-inline);position:relative;transition:background-color var(--_duration) var(--_easing)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=secondary]{--_tone-solid: var(--slotted-tone-secondary-solid, ButtonText);--_tone-text: var(--slotted-tone-secondary-text, ButtonText);--_tone-surface: var(--slotted-tone-secondary-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=success]{--_tone-solid: var(--slotted-tone-success-solid, ButtonText);--_tone-text: var(--slotted-tone-success-text, ButtonText);--_tone-surface: var(--slotted-tone-success-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=warning]{--_tone-solid: var(--slotted-tone-warning-solid, ButtonText);--_tone-text: var(--slotted-tone-warning-text, ButtonText);--_tone-surface: var(--slotted-tone-warning-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item][data-tone=danger]{--_tone-solid: var(--slotted-tone-danger-solid, ButtonText);--_tone-text: var(--slotted-tone-danger-text, ButtonText);--_tone-surface: var(--slotted-tone-danger-surface, Canvas)}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not([data-read]){background-color:var(--_unread-ground)}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not([data-disabled]):hover{background-color:var(--_hover)}[data-ui=notification-center]>[data-part=feed] [data-part=item]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=visual]{align-items:center;display:flex;grid-column:1;justify-content:center;min-inline-size:0}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not(:has(>[data-part=visual]))>[data-part=content]{grid-column:1 / 3}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=visual]:empty:not([data-tone]){display:none}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=visual][data-tone]:has(>[data-tone-glyph]){--slotted-icon-size: var(--_visual-glyph);align-items:center;background-image:radial-gradient(circle,var(--_tone-surface) calc(var(--_visual-glyph) * 9.5 / 24 - .5px),transparent calc(var(--_visual-glyph) * 9.5 / 24 + .5px));block-size:var(--_visual);color:var(--_tone-text);display:flex;inline-size:var(--_visual);justify-content:center}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]{display:flex;flex-direction:column;font-size:var(--_item-title-size);gap:var(--slotted-space-1, .125rem);grid-column:2;line-height:var(--_item-title-line-height);margin-block-start:max(0px,calc((var(--_visual) - 1lh) / 2));min-inline-size:0}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=title]{-webkit-box-orient:vertical;-webkit-line-clamp:var(--slotted-notification-center-title-clamp, 2);color:var(--_text);display:-webkit-box;font-size:var(--_item-title-size);font-weight:var(--slotted-font-weight-medium, 500);line-height:var(--_item-title-line-height);margin:0;overflow:hidden;overflow-wrap:anywhere;text-decoration:none}[data-ui=notification-center]>[data-part=feed] [data-part=item]:not([data-read])>[data-part=content]>[data-part=title]{font-weight:var(--slotted-font-weight-semibold, 600)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>a[data-part=title]:after{content:\"\";inset:0;position:absolute}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>a[data-part=title]:not([data-disabled]):hover{text-decoration:underline;text-underline-offset:.15em}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>a[data-part=title]:focus-visible{outline:none}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=description]{-webkit-box-orient:vertical;-webkit-line-clamp:var(--slotted-notification-center-description-clamp, 3);color:var(--_muted);display:-webkit-box;font-size:var(--_meta-size);line-height:var(--_meta-line-height);margin:0;overflow:hidden;overflow-wrap:anywhere}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=time]{color:var(--_muted);font-size:var(--_meta-size);font-variant-numeric:tabular-nums;line-height:var(--_meta-line-height)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=content]>[data-part=actions]{align-items:center;display:flex;flex-wrap:wrap;gap:var(--slotted-control-gap-sm, 6px);margin-block-start:var(--slotted-space-2, .25rem);position:relative;z-index:1}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]{display:flex;gap:var(--slotted-space-1, .125rem);grid-column:3;margin-block-start:max(0px,calc((var(--_visual) - var(--_control)) / 2));position:relative;z-index:1}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button{--slotted-icon-size: var(--_glyph);align-items:center;appearance:none;background:none;block-size:var(--_control);border:0;border-radius:var(--slotted-control-radius, 4px);color:var(--_muted);cursor:pointer;display:inline-flex;font:inherit;inline-size:var(--_control);justify-content:center;padding:0;position:relative;transition:color var(--_duration) var(--_easing),background-color var(--_duration) var(--_easing)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:before{block-size:max(var(--_control),var(--slotted-target-min, 24px));content:\"\";inline-size:max(var(--_control),var(--slotted-target-min, 24px));inset-block-start:50%;inset-inline-start:50%;position:absolute;translate:-50% -50%}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:enabled:hover{background-color:var(--_hover);color:var(--_text)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:enabled:active{background-color:var(--_active)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]>button:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=notification-center][data-controls=read]>[data-part=feed] [data-part=item]>[data-part=controls]>[data-part=dismiss],[data-ui=notification-center][data-controls=dismiss]>[data-part=feed] [data-part=item]>[data-part=controls]>[data-part=read-toggle],[data-ui=notification-center][data-controls=none]>[data-part=feed] [data-part=item]>[data-part=controls]{display:none}[data-ui=notification-center]>[data-part=feed]>[data-part=item][aria-hidden]{background-color:transparent}[data-ui=notification-center]>[data-part=empty]{color:var(--_muted);display:grid;font-size:var(--_meta-size);line-height:var(--_meta-line-height);min-block-size:calc(2 * var(--slotted-space-12, 4rem));padding-block:var(--_inset-block);padding-inline:var(--_inset-inline);place-items:center;text-align:center}[data-ui=notification-center]>[data-part=footer]{align-items:center;border-block-start:var(--_rule-size) solid var(--_rule);display:flex;font-size:var(--_meta-size);gap:var(--_gap);justify-content:center;line-height:var(--_meta-line-height);margin-block-start:auto;padding-block:var(--_inset-block);padding-inline:var(--_inset-inline)}@container notification-center (max-width: 319px){[data-ui=notification-center]>[data-part=feed] [data-part=item]{grid-template-columns:auto minmax(0,1fr)}[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]{grid-column:2;justify-content:flex-end;margin-block-start:var(--slotted-space-2, .25rem)}}@media(pointer:coarse){[data-ui=notification-center]>[data-part=feed] [data-part=item]>[data-part=controls]{--_control: var(--slotted-target-comfortable, 44px);margin-block-start:calc((var(--_visual) - var(--_control)) / 2)}}@media(forced-colors:active){[data-ui=notification-center] [data-part=count]{background-color:Highlight;border-color:Highlight;color:HighlightText;forced-color-adjust:none}}}\n"] }]
1130
+ }], ctorParameters: () => [], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: true }] }], views: [{ type: i0.Input, args: [{ isSignal: true, alias: "views", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], growing: [{ type: i0.Input, args: [{ isSignal: true, alias: "growing", required: false }] }], arrivals: [{ type: i0.Input, args: [{ isSignal: true, alias: "arrivals", required: false }] }], timeFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeFormat", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], timeZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeZone", required: false }] }], now: [{ type: i0.Input, args: [{ isSignal: true, alias: "now", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], count: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }], groupBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupBy", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], defaultView: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultView", required: false }] }], view: [{ type: i0.Input, args: [{ isSignal: true, alias: "view", required: false }] }, { type: i0.Output, args: ["viewChange"] }], viewRequest: [{ type: i0.Output, args: ["viewRequest"] }], readRequest: [{ type: i0.Output, args: ["readRequest"] }], removeRequest: [{ type: i0.Output, args: ["removeRequest"] }], openRequest: [{ type: i0.Output, args: ["openRequest"] }], revealRequest: [{ type: i0.Output, args: ["revealRequest"] }], loadMoreRequest: [{ type: i0.Output, args: ["loadMoreRequest"] }], unreadChange: [{ type: i0.Output, args: ["unreadChange"] }], feedElement: [{ type: i0.ViewChild, args: ['feed', { isSignal: true }] }], freshElement: [{ type: i0.ViewChild, args: ['fresh', { isSignal: true }] }], moreElement: [{ type: i0.ViewChild, args: ['more', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlNotificationItem), { isSignal: true }] }], visualTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlNotificationVisual), { isSignal: true }] }], actionsTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlNotificationActions), { isSignal: true }] }] } });
1131
+ /** The consumer's own controls in the header, after mark-all: a preferences link, a menu. */
1132
+ class SlNotificationCenterActions {
1133
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1134
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlNotificationCenterActions, isStandalone: true, selector: "[slNotificationCenterActions]", host: { attributes: { "data-part": "actions" } }, ngImport: i0 });
1135
+ }
1136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterActions, decorators: [{
1137
+ type: Directive,
1138
+ args: [{
1139
+ selector: '[slNotificationCenterActions]',
1140
+ standalone: true,
1141
+ host: { 'data-part': 'actions' },
1142
+ }]
1143
+ }] });
1144
+ /** The consumer's link from the popover to the page. */
1145
+ class SlNotificationCenterFooter {
1146
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1147
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlNotificationCenterFooter, isStandalone: true, selector: "[slNotificationCenterFooter]", host: { attributes: { "data-part": "footer" } }, ngImport: i0 });
1148
+ }
1149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterFooter, decorators: [{
1150
+ type: Directive,
1151
+ args: [{
1152
+ selector: '[slNotificationCenterFooter]',
1153
+ standalone: true,
1154
+ host: { 'data-part': 'footer' },
1155
+ }]
1156
+ }] });
1157
+ /** The empty page: a result-state, projected in place of the family's words. */
1158
+ class SlNotificationCenterEmpty {
1159
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterEmpty, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1160
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlNotificationCenterEmpty, isStandalone: true, selector: "[slNotificationCenterEmpty]", ngImport: i0 });
1161
+ }
1162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlNotificationCenterEmpty, decorators: [{
1163
+ type: Directive,
1164
+ args: [{ selector: '[slNotificationCenterEmpty]', standalone: true }]
1165
+ }] });
1166
+
1167
+ /**
1168
+ * Generated bundle index. Do not edit.
1169
+ */
1170
+
1171
+ export { NOTIFICATION_CENTER_DEFAULTS, SlNotificationActions, SlNotificationCenter, SlNotificationCenterActions, SlNotificationCenterEmpty, SlNotificationCenterFooter, SlNotificationCenterIdFactory, SlNotificationItem, SlNotificationVisual, injectNotificationCenterDefaults, provideNotificationCenterDefaults };
1172
+ //# sourceMappingURL=slotted-angular-notification-center.mjs.map