@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,750 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, inject, Injectable, TemplateRef, Directive, ElementRef, model, input, numberAttribute, booleanAttribute, output, HostAttributeToken, DestroyRef, contentChild, viewChild, computed, signal, effect, afterRenderEffect, untracked, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import { injectMessages } from '@slotted/angular/i18n';
5
+ import { SlGlyph, SlIcon } from '@slotted/angular/icon';
6
+ import { createDismissableLayer } from '@slotted/core/dismissable-layer';
7
+ import { tableOfContentsMessages } from '@slotted/core/i18n';
8
+ import { DEFAULT_LEVELS, collectOutline } from '@slotted/core/outline';
9
+ import { resolveScroller, createScrollSpy, readStickyTop, landOn, prefersReducedMotion, focusTarget } from '@slotted/core/scroll-spy';
10
+ import { createControllable } from '@slotted/core/state';
11
+ import { SlSkeleton } from '@slotted/angular/skeleton';
12
+
13
+ /** The contract's defaults. */
14
+ const TABLE_OF_CONTENTS_FALLBACK = {
15
+ history: 'push',
16
+ landmark: true,
17
+ layout: 'vertical',
18
+ levels: DEFAULT_LEVELS,
19
+ numbered: false,
20
+ offset: 0,
21
+ size: 'md',
22
+ sticky: false,
23
+ };
24
+ const TABLE_OF_CONTENTS_DEFAULTS = new InjectionToken('slotted table-of-contents defaults', { providedIn: 'root', factory: () => TABLE_OF_CONTENTS_FALLBACK });
25
+ /**
26
+ * An application decides once how its lists read — the levels a document
27
+ * outlines, whether the column pins, what a press does to the URL — rather
28
+ * than repeating it on every page. A list that states any of them itself
29
+ * still wins. Its words come from the language in force (`provideSlotted`).
30
+ */
31
+ function provideTableOfContentsDefaults(defaults) {
32
+ return {
33
+ provide: TABLE_OF_CONTENTS_DEFAULTS,
34
+ useFactory: () => ({ ...TABLE_OF_CONTENTS_FALLBACK, ...defaults }),
35
+ };
36
+ }
37
+ function injectTableOfContentsDefaults() {
38
+ return inject(TABLE_OF_CONTENTS_DEFAULTS);
39
+ }
40
+ class SlTableOfContentsIdFactory {
41
+ count = 0;
42
+ next() {
43
+ this.count += 1;
44
+ return `slotted-table-of-contents-${this.count}`;
45
+ }
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsIdFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
47
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsIdFactory, providedIn: 'root' });
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsIdFactory, decorators: [{
50
+ type: Injectable,
51
+ args: [{ providedIn: 'root' }]
52
+ }] });
53
+
54
+ /**
55
+ * The tolerance under the reading line: a target whose top is within it is
56
+ * taken as reached, so a heading landed on by a press — sitting exactly at
57
+ * the line, give or take a subpixel — is the one marked. Ant's `bounds`.
58
+ */
59
+ const TABLE_OF_CONTENTS_BOUNDS = 4;
60
+ /** The skeleton rows the list draws while loading, by width. */
61
+ const SKELETON_ROWS = ['72%', '56%', '80%', '48%'];
62
+ /**
63
+ * The content of every link, as a template: `<ng-template slTableOfContentsLink let-entry>`.
64
+ * Without one the link shows the entry's label.
65
+ */
66
+ class SlTableOfContentsLink {
67
+ template = inject(TemplateRef);
68
+ /* Types the template's context, so `let-entry` is an entry in the template. */
69
+ static ngTemplateContextGuard(_directive, context) {
70
+ return context !== null;
71
+ }
72
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsLink, deps: [], target: i0.ɵɵFactoryTarget.Directive });
73
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlTableOfContentsLink, isStandalone: true, selector: "ng-template[slTableOfContentsLink]", ngImport: i0 });
74
+ }
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsLink, decorators: [{
76
+ type: Directive,
77
+ args: [{ selector: 'ng-template[slTableOfContentsLink]', standalone: true }]
78
+ }] });
79
+ /** The list's title, as a template: `<ng-template slTableOfContentsLabel>`. */
80
+ class SlTableOfContentsLabel {
81
+ template = inject(TemplateRef);
82
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
83
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlTableOfContentsLabel, isStandalone: true, selector: "ng-template[slTableOfContentsLabel]", ngImport: i0 });
84
+ }
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContentsLabel, decorators: [{
86
+ type: Directive,
87
+ args: [{ selector: 'ng-template[slTableOfContentsLabel]', standalone: true }]
88
+ }] });
89
+ function fromOutline(entries) {
90
+ return entries.map((entry) => ({
91
+ id: entry.id,
92
+ label: entry.label,
93
+ children: fromOutline(entry.children),
94
+ }));
95
+ }
96
+ function flatten(items) {
97
+ const out = [];
98
+ const walk = (list) => {
99
+ for (const item of list) {
100
+ out.push(item);
101
+ if (item.children !== undefined)
102
+ walk(item.children);
103
+ }
104
+ };
105
+ walk(items);
106
+ return out;
107
+ }
108
+ function element(value) {
109
+ if (value === undefined || value === null)
110
+ return value;
111
+ return value instanceof ElementRef ? value.nativeElement : value;
112
+ }
113
+ /** A click the platform should keep: a modifier for a new tab, or a button other than the main one. */
114
+ function platformClick(event) {
115
+ return event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
116
+ }
117
+ /**
118
+ * A list of links into the document the reader is in, with the link of the
119
+ * place in view marked.
120
+ *
121
+ * The directive goes on the consumer's own element — `<nav slTableOfContents>`
122
+ * standing alone, `<div slTableOfContents>` inside a landmark that already has
123
+ * a name. `landmark` decides whether the name is written; the element is the
124
+ * consumer's, as it is everywhere in this ecosystem.
125
+ *
126
+ * **Two ways in, one list.** `items` as data, or `source` — a region whose
127
+ * headings are read after the view is built by `@slotted/core/outline` and
128
+ * read again when the region's subtree changes. A template Angular would not
129
+ * write a nested list by hand, so there are no parts to compose; a
130
+ * `slTableOfContentsLink` template shapes every link instead.
131
+ *
132
+ * **Two values, two models.** `value` is the current target and `open` is
133
+ * whether the collapsed list is shown. The spy asks `value` to move with the
134
+ * reason `scroll`; a press asks with `pointer` or `keyboard` before it
135
+ * scrolls, and the scroll happens whether or not the request is accepted.
136
+ */
137
+ class SlTableOfContents {
138
+ /** The current target's id, without the hash. Two-way, so a template may bind it directly. */
139
+ value = model(null, /* @ts-ignore */
140
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
141
+ /** Whether the collapsed list is shown. */
142
+ open = model(false, /* @ts-ignore */
143
+ ...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
144
+ /** The list as data. */
145
+ items = input(undefined, /* @ts-ignore */
146
+ ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
147
+ /** The region whose headings make the list, read after the view is built. */
148
+ source = input(undefined, /* @ts-ignore */
149
+ ...(ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []));
150
+ /** The lowest and highest heading level `source` keeps. */
151
+ levels = input(undefined, /* @ts-ignore */
152
+ ...(ngDevMode ? [{ debugName: "levels" }] : /* istanbul ignore next */ []));
153
+ /** A heading matching this selector, or inside one, is left out of `source`. */
154
+ exclude = input(undefined, /* @ts-ignore */
155
+ ...(ngDevMode ? [{ debugName: "exclude" }] : /* istanbul ignore next */ []));
156
+ /** The element that scrolls. Derived from the first target when unset. */
157
+ scroller = input(undefined, /* @ts-ignore */
158
+ ...(ngDevMode ? [{ debugName: "scroller" }] : /* istanbul ignore next */ []));
159
+ /** What to add under the page's chrome, in CSS pixels. */
160
+ offset = input(undefined, { ...(ngDevMode ? { debugName: "offset" } : /* istanbul ignore next */ {}), transform: (state) => (state === undefined ? undefined : numberAttribute(state)) });
161
+ layout = input(undefined, /* @ts-ignore */
162
+ ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
163
+ size = input(undefined, /* @ts-ignore */
164
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
165
+ history = input(undefined, /* @ts-ignore */
166
+ ...(ngDevMode ? [{ debugName: "history" }] : /* istanbul ignore next */ []));
167
+ sticky = input(undefined, { ...(ngDevMode ? { debugName: "sticky" } : /* istanbul ignore next */ {}), transform: (state) => (state === undefined ? undefined : booleanAttribute(state)) });
168
+ numbered = input(undefined, { ...(ngDevMode ? { debugName: "numbered" } : /* istanbul ignore next */ {}), transform: (state) => (state === undefined ? undefined : booleanAttribute(state)) });
169
+ /** Whether the host is the navigation landmark and takes its name. */
170
+ landmark = input(undefined, { ...(ngDevMode ? { debugName: "landmark" } : /* istanbul ignore next */ {}), transform: (state) => (state === undefined ? undefined : booleanAttribute(state)) });
171
+ /** The list's title, as text. A `slTableOfContentsLabel` template wins over it. */
172
+ label = input(undefined, /* @ts-ignore */
173
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
174
+ /** Rows of skeleton in the list's place. */
175
+ loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
176
+ /**
177
+ * Words laid over the catalog of the language in force: the landmark's name
178
+ * when no label is given, and the collapsed trigger's fixed text
179
+ * (`navigation`). A static `aria-label` still wins.
180
+ */
181
+ messages = input(undefined, /* @ts-ignore */
182
+ ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
183
+ /** One output for one transition, carrying the reason and the event. */
184
+ valueChangeRequest = output();
185
+ openChangeRequest = output();
186
+ defaults = injectTableOfContentsDefaults();
187
+ writtenLabel = inject(new HostAttributeToken('aria-label'), { optional: true });
188
+ writtenLabelledBy = inject(new HostAttributeToken('aria-labelledby'), {
189
+ optional: true,
190
+ });
191
+ host = inject(ElementRef).nativeElement;
192
+ destroyRef = inject(DestroyRef);
193
+ ids = inject(SlTableOfContentsIdFactory).next();
194
+ panelId = `${this.ids}-panel`;
195
+ labelId = `${this.ids}-label`;
196
+ skeletonRows = SKELETON_ROWS;
197
+ linkTemplate = contentChild(SlTableOfContentsLink, /* @ts-ignore */
198
+ ...(ngDevMode ? [{ debugName: "linkTemplate" }] : /* istanbul ignore next */ []));
199
+ labelTemplate = contentChild(SlTableOfContentsLabel, /* @ts-ignore */
200
+ ...(ngDevMode ? [{ debugName: "labelTemplate" }] : /* istanbul ignore next */ []));
201
+ panel = viewChild.required('panel', /* @ts-ignore */
202
+ ...(ngDevMode ? [{ debugName: "panel" }] : /* istanbul ignore next */ []));
203
+ marker = viewChild.required('marker', /* @ts-ignore */
204
+ ...(ngDevMode ? [{ debugName: "marker" }] : /* istanbul ignore next */ []));
205
+ trigger = viewChild('trigger', /* @ts-ignore */
206
+ ...(ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []));
207
+ resolvedLayout = computed(() => this.layout() ?? this.defaults.layout, /* @ts-ignore */
208
+ ...(ngDevMode ? [{ debugName: "resolvedLayout" }] : /* istanbul ignore next */ []));
209
+ resolvedSize = computed(() => this.size() ?? this.defaults.size, /* @ts-ignore */
210
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
211
+ resolvedHistory = computed(() => this.history() ?? this.defaults.history, /* @ts-ignore */
212
+ ...(ngDevMode ? [{ debugName: "resolvedHistory" }] : /* istanbul ignore next */ []));
213
+ resolvedSticky = computed(() => this.sticky() ?? this.defaults.sticky, /* @ts-ignore */
214
+ ...(ngDevMode ? [{ debugName: "resolvedSticky" }] : /* istanbul ignore next */ []));
215
+ resolvedNumbered = computed(() => this.numbered() ?? this.defaults.numbered, /* @ts-ignore */
216
+ ...(ngDevMode ? [{ debugName: "resolvedNumbered" }] : /* istanbul ignore next */ []));
217
+ resolvedLandmark = computed(() => this.landmark() ?? this.defaults.landmark, /* @ts-ignore */
218
+ ...(ngDevMode ? [{ debugName: "resolvedLandmark" }] : /* istanbul ignore next */ []));
219
+ resolvedLevels = computed(() => this.levels() ?? this.defaults.levels, /* @ts-ignore */
220
+ ...(ngDevMode ? [{ debugName: "resolvedLevels" }] : /* istanbul ignore next */ []));
221
+ resolvedOffset = computed(() => this.offset() ?? this.defaults.offset, /* @ts-ignore */
222
+ ...(ngDevMode ? [{ debugName: "resolvedOffset" }] : /* istanbul ignore next */ []));
223
+ /** The family's words in the language in force, with this list's `messages` laid over them. */
224
+ t = injectMessages(tableOfContentsMessages, this.messages);
225
+ collapsed = computed(() => this.resolvedLayout() === 'collapsed', /* @ts-ignore */
226
+ ...(ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []));
227
+ /** The headings of `source`, as the list reads them. */
228
+ outline = signal([], /* @ts-ignore */
229
+ ...(ngDevMode ? [{ debugName: "outline" }] : /* istanbul ignore next */ []));
230
+ /** The list, whichever way it came. */
231
+ entries = computed(() => this.items() ?? fromOutline(this.outline()), /* @ts-ignore */
232
+ ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
233
+ flat = computed(() => flatten(this.entries()), /* @ts-ignore */
234
+ ...(ngDevMode ? [{ debugName: "flat" }] : /* istanbul ignore next */ []));
235
+ empty = computed(() => !this.loading() && this.flat().length === 0, /* @ts-ignore */
236
+ ...(ngDevMode ? [{ debugName: "empty" }] : /* istanbul ignore next */ []));
237
+ hasLabel = computed(() => this.labelTemplate() !== undefined || this.label() !== undefined, /* @ts-ignore */
238
+ ...(ngDevMode ? [{ debugName: "hasLabel" }] : /* istanbul ignore next */ []));
239
+ resolvedLabel = computed(() => this.label() ?? this.t('navigation'), /* @ts-ignore */
240
+ ...(ngDevMode ? [{ debugName: "resolvedLabel" }] : /* istanbul ignore next */ []));
241
+ currentLabel = computed(() => {
242
+ const current = this.value();
243
+ return current === null ? '' : (this.flat().find((entry) => entry.id === current)?.label ?? '');
244
+ }, /* @ts-ignore */
245
+ ...(ngDevMode ? [{ debugName: "currentLabel" }] : /* istanbul ignore next */ []));
246
+ ariaLabelledBy = computed(() => this.resolvedLandmark() && this.writtenLabel === null && this.hasLabel()
247
+ ? (this.writtenLabelledBy ?? this.labelId)
248
+ : this.writtenLabelledBy, /* @ts-ignore */
249
+ ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
250
+ ariaLabel = computed(() => this.resolvedLandmark() && this.writtenLabelledBy === null && !this.hasLabel()
251
+ ? (this.writtenLabel ?? this.t('navigation'))
252
+ : this.writtenLabel, /* @ts-ignore */
253
+ ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
254
+ pendingFocus = false;
255
+ constructor() {
256
+ /* The headings of `source`, read when it is set and again when its subtree changes. */
257
+ effect((onCleanup) => {
258
+ const region = element(this.source());
259
+ const levels = this.resolvedLevels();
260
+ const exclude = this.exclude();
261
+ if (region === null || region === undefined)
262
+ return;
263
+ const read = () => this.outline.set(collectOutline(region, { levels, ...(exclude !== undefined ? { exclude } : {}) }));
264
+ read();
265
+ if (typeof MutationObserver === 'undefined')
266
+ return;
267
+ const observer = new MutationObserver(read);
268
+ observer.observe(region, { childList: true, subtree: true, characterData: true });
269
+ onCleanup(() => observer.disconnect());
270
+ });
271
+ /* The spy, rebuilt when the targets, the scroller or the offset change. */
272
+ afterRenderEffect((onCleanup) => {
273
+ const ids = this.flat().map((entry) => entry.id);
274
+ const scrollerInput = this.scroller();
275
+ const offset = this.resolvedOffset();
276
+ if (ids.length === 0)
277
+ return;
278
+ const doc = this.host.ownerDocument;
279
+ const targets = () => ids
280
+ .map((id) => doc.getElementById(id))
281
+ .filter((node) => node !== null)
282
+ .sort((a, b) => a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1);
283
+ const explicit = element(scrollerInput);
284
+ const scroller = explicit === undefined ? resolveScroller(targets()) : explicit;
285
+ const handle = createScrollSpy({
286
+ targets,
287
+ scroller,
288
+ line: () => readStickyTop(scroller, doc) + offset + TABLE_OF_CONTENTS_BOUNDS,
289
+ onChange: (next) => this.requestValue(next, 'scroll'),
290
+ own: this.host,
291
+ });
292
+ this.spy = handle;
293
+ /* A deep link the browser jumped to on load landed under the chrome: land it again, instantly. */
294
+ const hash = doc.defaultView?.location.hash.slice(1) ?? '';
295
+ if (hash !== '' && ids.includes(hash)) {
296
+ const target = doc.getElementById(hash);
297
+ if (target !== null) {
298
+ landOn(target, {
299
+ scroller,
300
+ chrome: readStickyTop(scroller, doc),
301
+ offset,
302
+ behavior: 'instant',
303
+ });
304
+ }
305
+ }
306
+ onCleanup(() => {
307
+ handle.destroy();
308
+ this.spy = null;
309
+ });
310
+ });
311
+ /* The marker, measured against the panel from the current link's box. */
312
+ afterRenderEffect((onCleanup) => {
313
+ this.value();
314
+ this.entries();
315
+ this.open();
316
+ const layout = this.resolvedLayout();
317
+ const panel = this.panel().nativeElement;
318
+ const marker = this.marker().nativeElement;
319
+ const measure = () => this.measureMarker(panel, marker, layout);
320
+ measure();
321
+ if (typeof ResizeObserver === 'undefined')
322
+ return;
323
+ const observer = new ResizeObserver(measure);
324
+ observer.observe(panel);
325
+ let live = true;
326
+ void panel.ownerDocument.fonts?.ready.then(() => {
327
+ if (live)
328
+ measure();
329
+ });
330
+ onCleanup(() => {
331
+ live = false;
332
+ observer.disconnect();
333
+ });
334
+ });
335
+ /* The bar says which edge it continues past, for the stylesheet's fade. */
336
+ afterRenderEffect((onCleanup) => {
337
+ this.entries();
338
+ if (this.resolvedLayout() !== 'horizontal')
339
+ return;
340
+ const panel = this.panel().nativeElement;
341
+ const measure = () => {
342
+ const overflow = panel.scrollWidth - panel.clientWidth;
343
+ if (overflow <= 1) {
344
+ panel.removeAttribute('data-overflow');
345
+ return;
346
+ }
347
+ const scrolled = Math.abs(panel.scrollLeft);
348
+ const atStart = scrolled <= 1;
349
+ const atEnd = scrolled >= overflow - 1;
350
+ panel.setAttribute('data-overflow', atStart ? 'end' : atEnd ? 'start' : 'both');
351
+ };
352
+ measure();
353
+ panel.addEventListener('scroll', measure, { passive: true });
354
+ const observer = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(measure);
355
+ observer?.observe(panel);
356
+ onCleanup(() => {
357
+ panel.removeEventListener('scroll', measure);
358
+ observer?.disconnect();
359
+ });
360
+ });
361
+ /* The collapsed list is a dismissable layer while it is shown, with the trigger as a branch. */
362
+ afterRenderEffect((onCleanup) => {
363
+ if (!this.collapsed() || !this.open())
364
+ return;
365
+ const panel = this.panel().nativeElement;
366
+ const trigger = this.trigger()?.nativeElement ?? null;
367
+ const layer = createDismissableLayer(panel, {
368
+ branches: trigger === null ? [] : [trigger],
369
+ onDismiss: (request) => {
370
+ if (request.reason !== 'escape' && request.reason !== 'outsidePress')
371
+ return;
372
+ this.requestOpen(false, request.reason, request.source);
373
+ if (request.reason === 'escape')
374
+ trigger?.focus();
375
+ },
376
+ });
377
+ onCleanup(() => layer.destroy());
378
+ });
379
+ /* ArrowDown on the trigger opened the list: the first link takes focus once it is drawn. */
380
+ afterRenderEffect(() => {
381
+ if (!this.open() || !this.pendingFocus)
382
+ return;
383
+ this.pendingFocus = false;
384
+ untracked(() => this.links()[0]?.focus());
385
+ });
386
+ this.destroyRef.onDestroy(() => this.spy?.destroy());
387
+ }
388
+ spy = null;
389
+ requestValue(next, reason, source) {
390
+ const state = createControllable({
391
+ initial: this.value(),
392
+ onRequest: (request) => this.valueChangeRequest.emit(request),
393
+ });
394
+ if (state.request(next, reason, source))
395
+ this.value.set(next);
396
+ }
397
+ requestOpen(next, reason, source) {
398
+ const state = createControllable({
399
+ initial: this.open(),
400
+ onRequest: (request) => this.openChangeRequest.emit(request),
401
+ });
402
+ if (state.request(next, reason, source))
403
+ this.open.set(next);
404
+ }
405
+ measureMarker(panel, marker, layout) {
406
+ const link = panel.querySelector('[data-part="link"][data-current]');
407
+ if (link === null) {
408
+ marker.style.removeProperty('--_marker-start');
409
+ marker.style.removeProperty('--_marker-size');
410
+ return;
411
+ }
412
+ const panelRect = panel.getBoundingClientRect();
413
+ const linkRect = link.getBoundingClientRect();
414
+ const rtl = getComputedStyle(panel).direction === 'rtl';
415
+ if (layout === 'horizontal') {
416
+ const start = rtl
417
+ ? panelRect.right - linkRect.right - panel.scrollLeft
418
+ : linkRect.left - panelRect.left + panel.scrollLeft;
419
+ marker.style.setProperty('--_marker-start', `${start}px`);
420
+ marker.style.setProperty('--_marker-size', `${linkRect.width}px`);
421
+ /* The current link is kept in view without moving the page: the panel alone scrolls. */
422
+ const from = rtl ? panelRect.right - linkRect.right : linkRect.left - panelRect.left;
423
+ const room = panelRect.width;
424
+ if (from < 0 || from + linkRect.width > room) {
425
+ const delta = from < 0 ? from : from + linkRect.width - room;
426
+ panel.scrollBy({ left: rtl ? -delta : delta, behavior: 'smooth' });
427
+ }
428
+ return;
429
+ }
430
+ const start = linkRect.top - panelRect.top + panel.scrollTop;
431
+ marker.style.setProperty('--_marker-start', `${start}px`);
432
+ marker.style.setProperty('--_marker-size', `${linkRect.height}px`);
433
+ const from = linkRect.top - panelRect.top;
434
+ if (panel.scrollHeight > panel.clientHeight) {
435
+ if (from < 0)
436
+ panel.scrollBy({ top: from, behavior: 'smooth' });
437
+ else if (from + linkRect.height > panelRect.height) {
438
+ panel.scrollBy({ top: from + linkRect.height - panelRect.height, behavior: 'smooth' });
439
+ }
440
+ }
441
+ }
442
+ /** The links the keyboard walks: every link while the list is shown, none while it is folded. */
443
+ links() {
444
+ if (this.collapsed() && !this.open())
445
+ return [];
446
+ return [...this.panel().nativeElement.querySelectorAll('[data-part="link"]')];
447
+ }
448
+ /**
449
+ * A press asks `value`, then the list scrolls the target under the chrome,
450
+ * writes the URL and focuses the target. Cmd-click, Ctrl-click and the
451
+ * middle button are the platform's: they open the fragment in a new tab.
452
+ */
453
+ onLinkClick(event, id) {
454
+ if (event.defaultPrevented || platformClick(event))
455
+ return;
456
+ event.preventDefault();
457
+ this.navigate(id, event.detail === 0 ? 'keyboard' : 'pointer', event);
458
+ }
459
+ navigate(id, reason, source) {
460
+ const doc = this.host.ownerDocument;
461
+ const view = doc.defaultView;
462
+ const target = doc.getElementById(id);
463
+ this.requestValue(id, reason, source);
464
+ if (target === null || view === null)
465
+ return;
466
+ /* The choice holds against the end-of-scroller rule until the reader scrolls by a gesture. */
467
+ this.spy?.pin(id);
468
+ const scroller = this.spy?.scroller() ?? element(this.scroller()) ?? null;
469
+ landOn(target, {
470
+ scroller,
471
+ chrome: readStickyTop(scroller, doc),
472
+ offset: this.resolvedOffset(),
473
+ behavior: prefersReducedMotion(view) ? 'instant' : 'smooth',
474
+ });
475
+ const history = this.resolvedHistory();
476
+ if (reason !== 'programmatic' && history !== 'none') {
477
+ const url = `#${id}`;
478
+ if (history === 'push')
479
+ view.history.pushState(null, '', url);
480
+ else
481
+ view.history.replaceState(null, '', url);
482
+ }
483
+ focusTarget(target);
484
+ if (this.collapsed() && this.open())
485
+ this.requestOpen(false, 'select', source);
486
+ }
487
+ toggle(event) {
488
+ this.requestOpen(!this.open(), event.detail === 0 ? 'keyboard' : 'pointer', event);
489
+ }
490
+ onKeyDown(event) {
491
+ if (event.defaultPrevented)
492
+ return;
493
+ const target = event.target;
494
+ if (target === this.trigger()?.nativeElement) {
495
+ if (event.key === 'ArrowDown' && !this.open()) {
496
+ event.preventDefault();
497
+ this.pendingFocus = true;
498
+ this.requestOpen(true, 'keyboard', event);
499
+ }
500
+ return;
501
+ }
502
+ if (!target.matches('[data-part="link"]'))
503
+ return;
504
+ const horizontal = this.resolvedLayout() === 'horizontal';
505
+ const forward = horizontal ? 'ArrowRight' : 'ArrowDown';
506
+ const backward = horizontal ? 'ArrowLeft' : 'ArrowUp';
507
+ const step = event.key === forward || event.key === 'ArrowDown'
508
+ ? 1
509
+ : event.key === backward || event.key === 'ArrowUp'
510
+ ? -1
511
+ : 0;
512
+ if (step === 0 && event.key !== 'Home' && event.key !== 'End')
513
+ return;
514
+ const all = this.links();
515
+ if (all.length === 0)
516
+ return;
517
+ event.preventDefault();
518
+ const index = all.indexOf(target);
519
+ const next = event.key === 'Home'
520
+ ? 0
521
+ : event.key === 'End'
522
+ ? all.length - 1
523
+ : Math.min(all.length - 1, Math.max(0, index + step));
524
+ all[next]?.focus();
525
+ }
526
+ /** Focuses the first link, or the trigger in the collapsed layout. */
527
+ focus() {
528
+ if (this.collapsed())
529
+ this.trigger()?.nativeElement.focus();
530
+ else
531
+ this.links()[0]?.focus();
532
+ }
533
+ /** Reads the headings again and measures again. */
534
+ refresh() {
535
+ const region = element(this.source());
536
+ if (region !== null && region !== undefined) {
537
+ const exclude = this.exclude();
538
+ this.outline.set(collectOutline(region, {
539
+ levels: this.resolvedLevels(),
540
+ ...(exclude !== undefined ? { exclude } : {}),
541
+ }));
542
+ }
543
+ this.spy?.refresh();
544
+ }
545
+ /** Scrolls to a target and asks `value` to move with the reason `programmatic`; the URL is left. */
546
+ scrollTo(id) {
547
+ this.navigate(id, 'programmatic');
548
+ }
549
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContents, deps: [], target: i0.ɵɵFactoryTarget.Component });
550
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlTableOfContents, isStandalone: true, selector: "[slTableOfContents]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: false, transformFunction: null }, levels: { classPropertyName: "levels", publicName: "levels", isSignal: true, isRequired: false, transformFunction: null }, exclude: { classPropertyName: "exclude", publicName: "exclude", isSignal: true, isRequired: false, transformFunction: null }, scroller: { classPropertyName: "scroller", publicName: "scroller", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, history: { classPropertyName: "history", publicName: "history", isSignal: true, isRequired: false, transformFunction: null }, sticky: { classPropertyName: "sticky", publicName: "sticky", isSignal: true, isRequired: false, transformFunction: null }, numbered: { classPropertyName: "numbered", publicName: "numbered", isSignal: true, isRequired: false, transformFunction: null }, landmark: { classPropertyName: "landmark", publicName: "landmark", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", open: "openChange", valueChangeRequest: "valueChangeRequest", openChangeRequest: "openChangeRequest" }, host: { attributes: { "data-ui": "table-of-contents", "data-part": "root" }, listeners: { "keydown": "onKeyDown($event)" }, properties: { "attr.aria-label": "ariaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "loading() ? 'true' : null", "attr.data-layout": "resolvedLayout()", "attr.data-size": "resolvedSize()", "attr.data-sticky": "resolvedSticky() && !collapsed() ? '' : null", "attr.data-numbered": "resolvedNumbered() ? '' : null", "attr.data-open": "collapsed() && open() ? '' : null", "attr.data-loading": "loading() ? '' : null", "attr.data-empty": "empty() ? '' : null" } }, queries: [{ propertyName: "linkTemplate", first: true, predicate: SlTableOfContentsLink, descendants: true, isSignal: true }, { propertyName: "labelTemplate", first: true, predicate: SlTableOfContentsLabel, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true, isSignal: true }, { propertyName: "marker", first: true, predicate: ["marker"], descendants: true, isSignal: true }, { propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }], exportAs: ["slTableOfContents"], ngImport: i0, template: `
551
+ @if (collapsed()) {
552
+ <button
553
+ #trigger
554
+ data-part="trigger"
555
+ type="button"
556
+ [attr.aria-controls]="panelId"
557
+ [attr.aria-expanded]="open()"
558
+ (click)="toggle($event)"
559
+ >
560
+ <span data-part="label" [id]="labelId">
561
+ @if (labelTemplate(); as label) {
562
+ <ng-container *ngTemplateOutlet="label.template" />
563
+ } @else {
564
+ {{ resolvedLabel() }}
565
+ }
566
+ </span>
567
+ <span data-part="current">{{ currentLabel() }}</span>
568
+ <span data-part="indicator" aria-hidden="true"
569
+ ><span slIcon><svg slGlyph name="chevron-down"></svg></span
570
+ ></span>
571
+ </button>
572
+ } @else if (hasLabel()) {
573
+ <div data-part="label" [id]="labelId">
574
+ @if (labelTemplate(); as label) {
575
+ <ng-container *ngTemplateOutlet="label.template" />
576
+ } @else {
577
+ {{ label() }}
578
+ }
579
+ </div>
580
+ }
581
+ <div #panel data-part="panel" [id]="panelId">
582
+ <div #marker data-part="marker" aria-hidden="true"></div>
583
+ <ol data-part="list">
584
+ @if (loading()) {
585
+ @for (width of skeletonRows; track width) {
586
+ <li data-part="skeleton" aria-hidden="true">
587
+ <span slSkeleton shape="text" [inlineSize]="width"></span>
588
+ </li>
589
+ }
590
+ } @else {
591
+ <ng-container
592
+ *ngTemplateOutlet="entriesTemplate; context: { $implicit: entries(), depth: 1 }"
593
+ />
594
+ }
595
+ </ol>
596
+ </div>
597
+
598
+ <ng-template #entriesTemplate let-list let-depth="depth">
599
+ @for (entry of list; track entry.id) {
600
+ <li
601
+ data-part="item"
602
+ [attr.data-depth]="depth"
603
+ [attr.data-value]="entry.id"
604
+ [attr.data-current]="value() === entry.id ? '' : null"
605
+ >
606
+ <a
607
+ data-part="link"
608
+ [attr.href]="'#' + entry.id"
609
+ [attr.aria-current]="value() === entry.id ? 'location' : null"
610
+ [attr.data-current]="value() === entry.id ? '' : null"
611
+ (click)="onLinkClick($event, entry.id)"
612
+ >
613
+ @if (linkTemplate(); as link) {
614
+ <ng-container
615
+ *ngTemplateOutlet="
616
+ link.template;
617
+ context: { $implicit: entry, current: value() === entry.id }
618
+ "
619
+ />
620
+ } @else {
621
+ {{ entry.label }}
622
+ }
623
+ </a>
624
+ @if (entry.children?.length) {
625
+ <ol data-part="group">
626
+ <ng-container
627
+ *ngTemplateOutlet="
628
+ entriesTemplate;
629
+ context: { $implicit: entry.children, depth: depth + 1 }
630
+ "
631
+ />
632
+ </ol>
633
+ }
634
+ </li>
635
+ }
636
+ </ng-template>
637
+ `, isInline: true, styles: ["@layer slotted.components{[data-ui=table-of-contents]{--_text: var(--slotted-table-of-contents-color, var(--slotted-text-muted, GrayText));--_strong: var(--slotted-text, CanvasText);--_hover: var( --slotted-table-of-contents-color-hover, color-mix(in oklab, var(--_text) 30%, var(--_strong)) );--_current: var( --slotted-table-of-contents-color-current, var(--slotted-tone-accent-text, LinkText) );--_track: var(--slotted-table-of-contents-track-color, var(--slotted-border-subtle, GrayText));--_track-width: var( --slotted-table-of-contents-track-width, var(--slotted-border-width-medium, 2px) );--_marker: var( --slotted-table-of-contents-marker-color, var(--slotted-tone-accent-solid, Highlight) );--_indent: var(--slotted-table-of-contents-indent, var(--slotted-space-5, .75rem));--_line-height: var(--slotted-line-height-sm, 1.45);--_duration: var(--slotted-duration-medium);--_easing: var(--slotted-easing-standard, ease);color:var(--_text);display:block;font-family:var(--slotted-font-family-sans, inherit);font-size:var(--_font-size);line-height:var(--_line-height);min-inline-size:0}[data-ui=table-of-contents][data-size=sm]{--_row-height: var(--slotted-control-height-sm, 30px);--_font-size: var(--slotted-control-font-size-sm, 12px);--_inset: var(--slotted-control-padding-inline-sm, 10px);--_icon-size: var(--slotted-control-icon-size-sm, 14px);--_gap: var(--slotted-control-gap-sm, 6px)}[data-ui=table-of-contents][data-size=md]{--_row-height: var(--slotted-control-height-md, 34px);--_font-size: var(--slotted-control-font-size-md, 13px);--_inset: var(--slotted-control-padding-inline-md, 13px);--_icon-size: var(--slotted-control-icon-size-md, 16px);--_gap: var(--slotted-control-gap-md, 8px)}[data-ui=table-of-contents][data-size=lg]{--_row-height: var(--slotted-control-height-lg, 38px);--_font-size: var(--slotted-control-font-size-lg, 14px);--_inset: var(--slotted-control-padding-inline-lg, 16px);--_icon-size: var(--slotted-control-icon-size-lg, 18px);--_gap: var(--slotted-control-gap-lg, 8px)}[data-ui=table-of-contents][data-empty]:not([data-loading]){display:none}[data-ui=table-of-contents]>[data-part=label]{color:var(--_strong);font-size:var(--slotted-font-size-sm, .8125rem);font-weight:var(--slotted-font-weight-semibold, 600);line-height:var(--slotted-line-height-sm, 1.45);margin-block-end:var(--slotted-space-3, .375rem);padding-inline:var(--_inset)}[data-ui=table-of-contents] [data-part=panel]{position:relative}[data-ui=table-of-contents] :is([data-part=list],[data-part=group]){list-style:none;margin:0;padding:0}[data-ui=table-of-contents][data-layout=vertical] [data-part=panel]>[data-part=list]{border-inline-start:var(--_track-width) solid var(--_track)}[data-ui=table-of-contents] [data-part=group]{padding-inline-start:var(--_indent)}[data-ui=table-of-contents] [data-part=item]{display:block;min-inline-size:0}[data-ui=table-of-contents] [data-part=link]{border-radius:var(--slotted-control-radius, 4px);color:inherit;display:block;overflow-wrap:anywhere;padding-block:calc((var(--_row-height) - var(--_font-size) * var(--_line-height)) / 2);padding-inline:var(--_inset);text-decoration:none;transition:color var(--slotted-duration-short) var(--_easing),font-weight var(--slotted-duration-short) var(--_easing)}[data-ui=table-of-contents] [data-part=link]:not([data-disabled]):not([data-current]):hover{color:var(--_hover)}[data-ui=table-of-contents] [data-part=link]:not([data-disabled]):not([data-current]):active{color:var(--_strong)}[data-ui=table-of-contents] [data-part=link][data-current]{color:var(--_current);font-weight:var(--slotted-font-weight-medium, 500)}[data-ui=table-of-contents] :is([data-part=link],[data-part=trigger]):focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(-1 * var(--slotted-focus-ring-offset, 2px))}[data-ui=table-of-contents] [data-part=marker]{background-color:var(--_marker);border-radius:var(--slotted-radius-full, 9999px);pointer-events:none;position:absolute;transition:inset-block-start var(--_duration) var(--_easing),inset-inline-start var(--_duration) var(--_easing),block-size var(--_duration) var(--_easing),inline-size var(--_duration) var(--_easing)}[data-ui=table-of-contents][data-layout=vertical] [data-part=marker]{block-size:var(--_marker-size, 0px);inline-size:var(--_track-width);inset-block-start:var(--_marker-start, 0px);inset-inline-start:0}[data-ui=table-of-contents][data-numbered] :is([data-part=list],[data-part=group]){counter-reset:slotted-table-of-contents}[data-ui=table-of-contents][data-numbered] [data-part=item]{counter-increment:slotted-table-of-contents}[data-ui=table-of-contents][data-numbered] [data-part=link]:before{content:counters(slotted-table-of-contents,\".\") \".\";display:inline-block;font-variant-numeric:tabular-nums;margin-inline-end:var(--_gap)}[data-ui=table-of-contents][data-sticky]{display:flex;flex-direction:column;inset-block-start:var(--slotted-page-sticky-top, 0px);max-block-size:calc(100dvh - var(--slotted-page-sticky-top, 0px));position:sticky}[data-ui=table-of-contents][data-sticky]>[data-part=panel]{min-block-size:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}[data-ui=table-of-contents][data-layout=horizontal]{display:flex;gap:var(--_gap)}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=label]{align-self:center;flex:none;margin-block-end:0;padding-inline-end:0;white-space:nowrap}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel]{--_fade: var(--slotted-space-9, 2rem);--_fade-angle: 90deg;background:linear-gradient(var(--_track),var(--_track)) 0 100% / 100% var(--_track-width) no-repeat;display:flex;flex:1 1 auto;min-inline-size:0;overflow-x:auto;overscroll-behavior-inline:contain;padding-block-end:var(--_track-width);scrollbar-width:none}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel]:dir(rtl){--_fade-angle: 270deg}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel][data-overflow=end]{-webkit-mask-image:linear-gradient(var(--_fade-angle),#000 calc(100% - var(--_fade)),transparent);mask-image:linear-gradient(var(--_fade-angle),#000 calc(100% - var(--_fade)),transparent)}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel][data-overflow=start]{-webkit-mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade));mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade))}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel][data-overflow=both]{-webkit-mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade),#000 calc(100% - var(--_fade)),transparent);mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade),#000 calc(100% - var(--_fade)),transparent)}[data-ui=table-of-contents][data-layout=horizontal] [data-part=list]{display:flex}[data-ui=table-of-contents][data-layout=horizontal] [data-part=item]{flex:none}[data-ui=table-of-contents][data-layout=horizontal] [data-part=link]{white-space:nowrap}[data-ui=table-of-contents][data-layout=horizontal] [data-part=group]{display:none}[data-ui=table-of-contents][data-layout=horizontal] [data-part=marker]{block-size:var(--_track-width);inline-size:var(--_marker-size, 0px);inset-block-end:0;inset-inline-start:var(--_marker-start, 0px)}[data-ui=table-of-contents][data-layout=collapsed]{position:relative}[data-ui=table-of-contents] [data-part=trigger]{align-items:center;appearance:none;background:none;border:0;border-block-end:var(--_track-width) solid var(--_track);border-radius:0;color:var(--_strong);cursor:pointer;display:flex;font:inherit;gap:var(--_gap);inline-size:100%;margin:0;min-block-size:var(--_row-height);padding-block:0;padding-inline:var(--_inset);text-align:start}[data-ui=table-of-contents] [data-part=trigger]>[data-part=label]{color:var(--_strong);flex:none;font-weight:var(--slotted-font-weight-semibold, 600)}[data-ui=table-of-contents] [data-part=current]{color:var(--_text);flex:1 1 auto;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-ui=table-of-contents] [data-part=current]:empty{display:none}[data-ui=table-of-contents] [data-part=indicator]{--slotted-icon-size: var(--_icon-size);display:flex;flex:none;margin-inline-start:auto}[data-ui=table-of-contents] [data-part=indicator]>[data-ui=icon]{transition:rotate var(--_duration) var(--_easing)}[data-ui=table-of-contents][data-open] [data-part=indicator]>[data-ui=icon]{rotate:180deg}[data-ui=table-of-contents][data-layout=collapsed]>[data-part=panel]{--_enter-distance: var(--slotted-space-2, .25rem);background-color:var(--slotted-surface-raised, Canvas);border:var(--slotted-border-width-thin, 1px) solid var(--slotted-border-subtle, GrayText);border-radius:var(--slotted-radius-md, 6px);box-shadow:var(--slotted-shadow-md, none);display:none;inset-block-start:100%;inset-inline:0;margin-block-start:var(--slotted-space-2, .25rem);max-block-size:min(60dvh,24rem);overflow-y:auto;overscroll-behavior:contain;padding-block:var(--slotted-space-2, .25rem);position:absolute;z-index:var(--slotted-z-index-popover, 1100)}[data-ui=table-of-contents][data-layout=collapsed][data-open]>[data-part=panel]{animation:slotted-table-of-contents-enter var(--slotted-duration-short) var(--slotted-easing-enter, ease-out);display:block}[data-ui=table-of-contents][data-layout=collapsed] [data-part=marker]{display:none}@keyframes slotted-table-of-contents-enter{0%{opacity:0;translate:0 calc(-1 * var(--_enter-distance))}}@media(prefers-reduced-motion:reduce){@keyframes slotted-table-of-contents-enter{0%{opacity:0}}}[data-ui=table-of-contents] [data-part=skeleton]{display:flex;min-block-size:var(--_row-height);padding-block:calc((var(--_row-height) - var(--_font-size) * var(--_line-height)) / 2);padding-inline:var(--_inset)}[data-ui=table-of-contents] [data-part=skeleton]>[data-ui=skeleton]{--slotted-skeleton-block-size: var(--_font-size)}[data-ui=table-of-contents][data-layout=horizontal] [data-part=skeleton]{flex:none;inline-size:6rem}@media(forced-colors:active){[data-ui=table-of-contents] [data-part=marker]{background-color:Highlight;forced-color-adjust:none}[data-ui=table-of-contents] [data-part=link][data-current]{background-color:Highlight;color:HighlightText;forced-color-adjust:none}}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: SlSkeleton, selector: "[slSkeleton]", inputs: ["shape", "size", "animation", "loading", "inlineSize", "blockSize"], exportAs: ["slSkeleton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
638
+ }
639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTableOfContents, decorators: [{
640
+ type: Component,
641
+ args: [{ selector: '[slTableOfContents]', standalone: true, exportAs: 'slTableOfContents', imports: [NgTemplateOutlet, SlGlyph, SlIcon, SlSkeleton], template: `
642
+ @if (collapsed()) {
643
+ <button
644
+ #trigger
645
+ data-part="trigger"
646
+ type="button"
647
+ [attr.aria-controls]="panelId"
648
+ [attr.aria-expanded]="open()"
649
+ (click)="toggle($event)"
650
+ >
651
+ <span data-part="label" [id]="labelId">
652
+ @if (labelTemplate(); as label) {
653
+ <ng-container *ngTemplateOutlet="label.template" />
654
+ } @else {
655
+ {{ resolvedLabel() }}
656
+ }
657
+ </span>
658
+ <span data-part="current">{{ currentLabel() }}</span>
659
+ <span data-part="indicator" aria-hidden="true"
660
+ ><span slIcon><svg slGlyph name="chevron-down"></svg></span
661
+ ></span>
662
+ </button>
663
+ } @else if (hasLabel()) {
664
+ <div data-part="label" [id]="labelId">
665
+ @if (labelTemplate(); as label) {
666
+ <ng-container *ngTemplateOutlet="label.template" />
667
+ } @else {
668
+ {{ label() }}
669
+ }
670
+ </div>
671
+ }
672
+ <div #panel data-part="panel" [id]="panelId">
673
+ <div #marker data-part="marker" aria-hidden="true"></div>
674
+ <ol data-part="list">
675
+ @if (loading()) {
676
+ @for (width of skeletonRows; track width) {
677
+ <li data-part="skeleton" aria-hidden="true">
678
+ <span slSkeleton shape="text" [inlineSize]="width"></span>
679
+ </li>
680
+ }
681
+ } @else {
682
+ <ng-container
683
+ *ngTemplateOutlet="entriesTemplate; context: { $implicit: entries(), depth: 1 }"
684
+ />
685
+ }
686
+ </ol>
687
+ </div>
688
+
689
+ <ng-template #entriesTemplate let-list let-depth="depth">
690
+ @for (entry of list; track entry.id) {
691
+ <li
692
+ data-part="item"
693
+ [attr.data-depth]="depth"
694
+ [attr.data-value]="entry.id"
695
+ [attr.data-current]="value() === entry.id ? '' : null"
696
+ >
697
+ <a
698
+ data-part="link"
699
+ [attr.href]="'#' + entry.id"
700
+ [attr.aria-current]="value() === entry.id ? 'location' : null"
701
+ [attr.data-current]="value() === entry.id ? '' : null"
702
+ (click)="onLinkClick($event, entry.id)"
703
+ >
704
+ @if (linkTemplate(); as link) {
705
+ <ng-container
706
+ *ngTemplateOutlet="
707
+ link.template;
708
+ context: { $implicit: entry, current: value() === entry.id }
709
+ "
710
+ />
711
+ } @else {
712
+ {{ entry.label }}
713
+ }
714
+ </a>
715
+ @if (entry.children?.length) {
716
+ <ol data-part="group">
717
+ <ng-container
718
+ *ngTemplateOutlet="
719
+ entriesTemplate;
720
+ context: { $implicit: entry.children, depth: depth + 1 }
721
+ "
722
+ />
723
+ </ol>
724
+ }
725
+ </li>
726
+ }
727
+ </ng-template>
728
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
729
+ 'data-ui': 'table-of-contents',
730
+ 'data-part': 'root',
731
+ '[attr.aria-label]': 'ariaLabel()',
732
+ '[attr.aria-labelledby]': 'ariaLabelledBy()',
733
+ '[attr.aria-busy]': "loading() ? 'true' : null",
734
+ '[attr.data-layout]': 'resolvedLayout()',
735
+ '[attr.data-size]': 'resolvedSize()',
736
+ '[attr.data-sticky]': "resolvedSticky() && !collapsed() ? '' : null",
737
+ '[attr.data-numbered]': "resolvedNumbered() ? '' : null",
738
+ '[attr.data-open]': "collapsed() && open() ? '' : null",
739
+ '[attr.data-loading]': "loading() ? '' : null",
740
+ '[attr.data-empty]': "empty() ? '' : null",
741
+ '(keydown)': 'onKeyDown($event)',
742
+ }, styles: ["@layer slotted.components{[data-ui=table-of-contents]{--_text: var(--slotted-table-of-contents-color, var(--slotted-text-muted, GrayText));--_strong: var(--slotted-text, CanvasText);--_hover: var( --slotted-table-of-contents-color-hover, color-mix(in oklab, var(--_text) 30%, var(--_strong)) );--_current: var( --slotted-table-of-contents-color-current, var(--slotted-tone-accent-text, LinkText) );--_track: var(--slotted-table-of-contents-track-color, var(--slotted-border-subtle, GrayText));--_track-width: var( --slotted-table-of-contents-track-width, var(--slotted-border-width-medium, 2px) );--_marker: var( --slotted-table-of-contents-marker-color, var(--slotted-tone-accent-solid, Highlight) );--_indent: var(--slotted-table-of-contents-indent, var(--slotted-space-5, .75rem));--_line-height: var(--slotted-line-height-sm, 1.45);--_duration: var(--slotted-duration-medium);--_easing: var(--slotted-easing-standard, ease);color:var(--_text);display:block;font-family:var(--slotted-font-family-sans, inherit);font-size:var(--_font-size);line-height:var(--_line-height);min-inline-size:0}[data-ui=table-of-contents][data-size=sm]{--_row-height: var(--slotted-control-height-sm, 30px);--_font-size: var(--slotted-control-font-size-sm, 12px);--_inset: var(--slotted-control-padding-inline-sm, 10px);--_icon-size: var(--slotted-control-icon-size-sm, 14px);--_gap: var(--slotted-control-gap-sm, 6px)}[data-ui=table-of-contents][data-size=md]{--_row-height: var(--slotted-control-height-md, 34px);--_font-size: var(--slotted-control-font-size-md, 13px);--_inset: var(--slotted-control-padding-inline-md, 13px);--_icon-size: var(--slotted-control-icon-size-md, 16px);--_gap: var(--slotted-control-gap-md, 8px)}[data-ui=table-of-contents][data-size=lg]{--_row-height: var(--slotted-control-height-lg, 38px);--_font-size: var(--slotted-control-font-size-lg, 14px);--_inset: var(--slotted-control-padding-inline-lg, 16px);--_icon-size: var(--slotted-control-icon-size-lg, 18px);--_gap: var(--slotted-control-gap-lg, 8px)}[data-ui=table-of-contents][data-empty]:not([data-loading]){display:none}[data-ui=table-of-contents]>[data-part=label]{color:var(--_strong);font-size:var(--slotted-font-size-sm, .8125rem);font-weight:var(--slotted-font-weight-semibold, 600);line-height:var(--slotted-line-height-sm, 1.45);margin-block-end:var(--slotted-space-3, .375rem);padding-inline:var(--_inset)}[data-ui=table-of-contents] [data-part=panel]{position:relative}[data-ui=table-of-contents] :is([data-part=list],[data-part=group]){list-style:none;margin:0;padding:0}[data-ui=table-of-contents][data-layout=vertical] [data-part=panel]>[data-part=list]{border-inline-start:var(--_track-width) solid var(--_track)}[data-ui=table-of-contents] [data-part=group]{padding-inline-start:var(--_indent)}[data-ui=table-of-contents] [data-part=item]{display:block;min-inline-size:0}[data-ui=table-of-contents] [data-part=link]{border-radius:var(--slotted-control-radius, 4px);color:inherit;display:block;overflow-wrap:anywhere;padding-block:calc((var(--_row-height) - var(--_font-size) * var(--_line-height)) / 2);padding-inline:var(--_inset);text-decoration:none;transition:color var(--slotted-duration-short) var(--_easing),font-weight var(--slotted-duration-short) var(--_easing)}[data-ui=table-of-contents] [data-part=link]:not([data-disabled]):not([data-current]):hover{color:var(--_hover)}[data-ui=table-of-contents] [data-part=link]:not([data-disabled]):not([data-current]):active{color:var(--_strong)}[data-ui=table-of-contents] [data-part=link][data-current]{color:var(--_current);font-weight:var(--slotted-font-weight-medium, 500)}[data-ui=table-of-contents] :is([data-part=link],[data-part=trigger]):focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(-1 * var(--slotted-focus-ring-offset, 2px))}[data-ui=table-of-contents] [data-part=marker]{background-color:var(--_marker);border-radius:var(--slotted-radius-full, 9999px);pointer-events:none;position:absolute;transition:inset-block-start var(--_duration) var(--_easing),inset-inline-start var(--_duration) var(--_easing),block-size var(--_duration) var(--_easing),inline-size var(--_duration) var(--_easing)}[data-ui=table-of-contents][data-layout=vertical] [data-part=marker]{block-size:var(--_marker-size, 0px);inline-size:var(--_track-width);inset-block-start:var(--_marker-start, 0px);inset-inline-start:0}[data-ui=table-of-contents][data-numbered] :is([data-part=list],[data-part=group]){counter-reset:slotted-table-of-contents}[data-ui=table-of-contents][data-numbered] [data-part=item]{counter-increment:slotted-table-of-contents}[data-ui=table-of-contents][data-numbered] [data-part=link]:before{content:counters(slotted-table-of-contents,\".\") \".\";display:inline-block;font-variant-numeric:tabular-nums;margin-inline-end:var(--_gap)}[data-ui=table-of-contents][data-sticky]{display:flex;flex-direction:column;inset-block-start:var(--slotted-page-sticky-top, 0px);max-block-size:calc(100dvh - var(--slotted-page-sticky-top, 0px));position:sticky}[data-ui=table-of-contents][data-sticky]>[data-part=panel]{min-block-size:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}[data-ui=table-of-contents][data-layout=horizontal]{display:flex;gap:var(--_gap)}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=label]{align-self:center;flex:none;margin-block-end:0;padding-inline-end:0;white-space:nowrap}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel]{--_fade: var(--slotted-space-9, 2rem);--_fade-angle: 90deg;background:linear-gradient(var(--_track),var(--_track)) 0 100% / 100% var(--_track-width) no-repeat;display:flex;flex:1 1 auto;min-inline-size:0;overflow-x:auto;overscroll-behavior-inline:contain;padding-block-end:var(--_track-width);scrollbar-width:none}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel]:dir(rtl){--_fade-angle: 270deg}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel][data-overflow=end]{-webkit-mask-image:linear-gradient(var(--_fade-angle),#000 calc(100% - var(--_fade)),transparent);mask-image:linear-gradient(var(--_fade-angle),#000 calc(100% - var(--_fade)),transparent)}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel][data-overflow=start]{-webkit-mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade));mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade))}[data-ui=table-of-contents][data-layout=horizontal]>[data-part=panel][data-overflow=both]{-webkit-mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade),#000 calc(100% - var(--_fade)),transparent);mask-image:linear-gradient(var(--_fade-angle),transparent,#000 var(--_fade),#000 calc(100% - var(--_fade)),transparent)}[data-ui=table-of-contents][data-layout=horizontal] [data-part=list]{display:flex}[data-ui=table-of-contents][data-layout=horizontal] [data-part=item]{flex:none}[data-ui=table-of-contents][data-layout=horizontal] [data-part=link]{white-space:nowrap}[data-ui=table-of-contents][data-layout=horizontal] [data-part=group]{display:none}[data-ui=table-of-contents][data-layout=horizontal] [data-part=marker]{block-size:var(--_track-width);inline-size:var(--_marker-size, 0px);inset-block-end:0;inset-inline-start:var(--_marker-start, 0px)}[data-ui=table-of-contents][data-layout=collapsed]{position:relative}[data-ui=table-of-contents] [data-part=trigger]{align-items:center;appearance:none;background:none;border:0;border-block-end:var(--_track-width) solid var(--_track);border-radius:0;color:var(--_strong);cursor:pointer;display:flex;font:inherit;gap:var(--_gap);inline-size:100%;margin:0;min-block-size:var(--_row-height);padding-block:0;padding-inline:var(--_inset);text-align:start}[data-ui=table-of-contents] [data-part=trigger]>[data-part=label]{color:var(--_strong);flex:none;font-weight:var(--slotted-font-weight-semibold, 600)}[data-ui=table-of-contents] [data-part=current]{color:var(--_text);flex:1 1 auto;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-ui=table-of-contents] [data-part=current]:empty{display:none}[data-ui=table-of-contents] [data-part=indicator]{--slotted-icon-size: var(--_icon-size);display:flex;flex:none;margin-inline-start:auto}[data-ui=table-of-contents] [data-part=indicator]>[data-ui=icon]{transition:rotate var(--_duration) var(--_easing)}[data-ui=table-of-contents][data-open] [data-part=indicator]>[data-ui=icon]{rotate:180deg}[data-ui=table-of-contents][data-layout=collapsed]>[data-part=panel]{--_enter-distance: var(--slotted-space-2, .25rem);background-color:var(--slotted-surface-raised, Canvas);border:var(--slotted-border-width-thin, 1px) solid var(--slotted-border-subtle, GrayText);border-radius:var(--slotted-radius-md, 6px);box-shadow:var(--slotted-shadow-md, none);display:none;inset-block-start:100%;inset-inline:0;margin-block-start:var(--slotted-space-2, .25rem);max-block-size:min(60dvh,24rem);overflow-y:auto;overscroll-behavior:contain;padding-block:var(--slotted-space-2, .25rem);position:absolute;z-index:var(--slotted-z-index-popover, 1100)}[data-ui=table-of-contents][data-layout=collapsed][data-open]>[data-part=panel]{animation:slotted-table-of-contents-enter var(--slotted-duration-short) var(--slotted-easing-enter, ease-out);display:block}[data-ui=table-of-contents][data-layout=collapsed] [data-part=marker]{display:none}@keyframes slotted-table-of-contents-enter{0%{opacity:0;translate:0 calc(-1 * var(--_enter-distance))}}@media(prefers-reduced-motion:reduce){@keyframes slotted-table-of-contents-enter{0%{opacity:0}}}[data-ui=table-of-contents] [data-part=skeleton]{display:flex;min-block-size:var(--_row-height);padding-block:calc((var(--_row-height) - var(--_font-size) * var(--_line-height)) / 2);padding-inline:var(--_inset)}[data-ui=table-of-contents] [data-part=skeleton]>[data-ui=skeleton]{--slotted-skeleton-block-size: var(--_font-size)}[data-ui=table-of-contents][data-layout=horizontal] [data-part=skeleton]{flex:none;inline-size:6rem}@media(forced-colors:active){[data-ui=table-of-contents] [data-part=marker]{background-color:Highlight;forced-color-adjust:none}[data-ui=table-of-contents] [data-part=link][data-current]{background-color:Highlight;color:HighlightText;forced-color-adjust:none}}}\n"] }]
743
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], source: [{ type: i0.Input, args: [{ isSignal: true, alias: "source", required: false }] }], levels: [{ type: i0.Input, args: [{ isSignal: true, alias: "levels", required: false }] }], exclude: [{ type: i0.Input, args: [{ isSignal: true, alias: "exclude", required: false }] }], scroller: [{ type: i0.Input, args: [{ isSignal: true, alias: "scroller", required: false }] }], offset: [{ type: i0.Input, args: [{ isSignal: true, alias: "offset", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], history: [{ type: i0.Input, args: [{ isSignal: true, alias: "history", required: false }] }], sticky: [{ type: i0.Input, args: [{ isSignal: true, alias: "sticky", required: false }] }], numbered: [{ type: i0.Input, args: [{ isSignal: true, alias: "numbered", required: false }] }], landmark: [{ type: i0.Input, args: [{ isSignal: true, alias: "landmark", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], valueChangeRequest: [{ type: i0.Output, args: ["valueChangeRequest"] }], openChangeRequest: [{ type: i0.Output, args: ["openChangeRequest"] }], linkTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlTableOfContentsLink), { isSignal: true }] }], labelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SlTableOfContentsLabel), { isSignal: true }] }], panel: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], marker: [{ type: i0.ViewChild, args: ['marker', { isSignal: true }] }], trigger: [{ type: i0.ViewChild, args: ['trigger', { isSignal: true }] }] } });
744
+
745
+ /**
746
+ * Generated bundle index. Do not edit.
747
+ */
748
+
749
+ export { SlTableOfContents, SlTableOfContentsIdFactory, SlTableOfContentsLabel, SlTableOfContentsLink, TABLE_OF_CONTENTS_BOUNDS, TABLE_OF_CONTENTS_DEFAULTS, TABLE_OF_CONTENTS_FALLBACK, injectTableOfContentsDefaults, provideTableOfContentsDefaults };
750
+ //# sourceMappingURL=slotted-angular-table-of-contents.mjs.map