@slotted/angular 0.0.0-stage → 0.1.0-beta.1

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,595 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, inject, input, HostAttributeToken, computed, ElementRef, DestroyRef, Directive, booleanAttribute, output, signal, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { injectLocale, injectMessages } from '@slotted/angular/i18n';
4
+ import { createRemovalFocus } from '@slotted/core/focus';
5
+ import { attachmentMessages } from '@slotted/core/i18n';
6
+ import { fileKind, splitName, formatBytes } from '@slotted/core/upload';
7
+ import { SlGlyph, SlIcon } from '@slotted/angular/icon';
8
+ import { SlProgressBar } from '@slotted/angular/progress-indicator';
9
+
10
+ const FALLBACK = {
11
+ layout: 'list',
12
+ orientation: 'horizontal',
13
+ size: 'md',
14
+ };
15
+ const ATTACHMENT_DEFAULTS = new InjectionToken('slotted attachment defaults', { providedIn: 'root', factory: () => FALLBACK });
16
+ /**
17
+ * An application decides once how large its attachments are and how a set of
18
+ * them is arranged. A group or an attachment that states either still wins.
19
+ * Their words and the locale that writes their sizes come from the language
20
+ * in force (`provideSlotted`).
21
+ */
22
+ function provideAttachmentDefaults(defaults) {
23
+ return {
24
+ provide: ATTACHMENT_DEFAULTS,
25
+ useFactory: () => ({
26
+ layout: defaults.layout ?? FALLBACK.layout,
27
+ orientation: defaults.orientation ?? FALLBACK.orientation,
28
+ size: defaults.size ?? FALLBACK.size,
29
+ }),
30
+ };
31
+ }
32
+ function injectAttachmentDefaults() {
33
+ return inject(ATTACHMENT_DEFAULTS);
34
+ }
35
+ /**
36
+ * The mark knocked out of each kind's tile — `upload`'s map, restated because
37
+ * that one is private to `upload`. The contract test reads both contracts'
38
+ * `kinds` and refuses a drift.
39
+ */
40
+ const ATTACHMENT_KIND_GLYPH = {
41
+ archive: 'file-archive',
42
+ audio: 'file-audio',
43
+ document: 'file-type',
44
+ image: 'file-image',
45
+ other: 'file',
46
+ pdf: 'file-text',
47
+ presentation: 'presentation',
48
+ spreadsheet: 'file-spreadsheet',
49
+ video: 'file-video',
50
+ };
51
+ /**
52
+ * The controls `removal-focus` counts. An attachment in a set holds the same
53
+ * controls as its neighbours, so the position focus had among them is the
54
+ * position of the same control on the attachment that took its place. A
55
+ * remove control of an attachment that is not removable is hidden, and is not
56
+ * counted.
57
+ */
58
+ const ATTACHMENT_CONTROL_SELECTOR = '[data-part="trigger"], [data-part="action"], [data-part="remove"]:not([hidden])';
59
+
60
+ let nextId = 0;
61
+ /**
62
+ * A set of attachments on the `ul` the page wrote: a column, a wrapping grid
63
+ * or one line that scrolls. It hands its size and orientation to every
64
+ * attachment that does not state its own.
65
+ *
66
+ * It keeps the keyboard where it was when an attachment leaves: focus goes to
67
+ * the control that took the removed one's place, then to the last one, then
68
+ * to the list itself — which is why the list takes `tabindex="-1"`.
69
+ * `removal-focus` observes the DOM, so it is right however the consumer
70
+ * removed the file.
71
+ */
72
+ class SlAttachmentGroup {
73
+ /** A column, a wrapping grid, or one line that scrolls. Falls back to the token. */
74
+ layout = input(undefined, /* @ts-ignore */
75
+ ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
76
+ /** Handed to every attachment that does not state its own. */
77
+ size = input(undefined, /* @ts-ignore */
78
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
79
+ /** Handed to every attachment that does not state its own. */
80
+ orientation = input(undefined, /* @ts-ignore */
81
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
82
+ defaults = injectAttachmentDefaults();
83
+ /** A `tabindex` the page wrote is kept; otherwise the list takes focus only by script. */
84
+ tabindex = inject(new HostAttributeToken('tabindex'), { optional: true }) ?? '-1';
85
+ resolvedLayout = computed(() => this.layout() ?? this.defaults.layout, /* @ts-ignore */
86
+ ...(ngDevMode ? [{ debugName: "resolvedLayout" }] : /* istanbul ignore next */ []));
87
+ resolvedSize = computed(() => this.size() ?? this.defaults.size, /* @ts-ignore */
88
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
89
+ resolvedOrientation = computed(() => this.orientation() ?? this.defaults.orientation, /* @ts-ignore */
90
+ ...(ngDevMode ? [{ debugName: "resolvedOrientation" }] : /* istanbul ignore next */ []));
91
+ constructor() {
92
+ const host = inject(ElementRef).nativeElement;
93
+ const removal = createRemovalFocus(host, { itemSelector: ATTACHMENT_CONTROL_SELECTOR });
94
+ inject(DestroyRef).onDestroy(() => removal.destroy());
95
+ }
96
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
97
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.7", type: SlAttachmentGroup, isStandalone: true, selector: "[slAttachmentGroup]", inputs: { layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "attachment", "data-part": "group" }, properties: { "attr.data-layout": "resolvedLayout()", "attr.data-size": "resolvedSize()", "attr.data-orientation": "resolvedOrientation()", "attr.tabindex": "tabindex" } }, exportAs: ["slAttachmentGroup"], ngImport: i0 });
98
+ }
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentGroup, decorators: [{
100
+ type: Directive,
101
+ args: [{
102
+ selector: '[slAttachmentGroup]',
103
+ standalone: true,
104
+ exportAs: 'slAttachmentGroup',
105
+ host: {
106
+ 'data-ui': 'attachment',
107
+ 'data-part': 'group',
108
+ '[attr.data-layout]': 'resolvedLayout()',
109
+ '[attr.data-size]': 'resolvedSize()',
110
+ '[attr.data-orientation]': 'resolvedOrientation()',
111
+ '[attr.tabindex]': 'tabindex',
112
+ },
113
+ }]
114
+ }], ctorParameters: () => [], propDecorators: { layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }] } });
115
+ /**
116
+ * One file that already belongs to something — a message, a record, a tray —
117
+ * on the `li` (inside `slAttachmentGroup`) or `div` (alone) the page wrote.
118
+ * The parts inside read the file from here: the tile its kind, the trigger its
119
+ * name, the detail its size.
120
+ *
121
+ * **Removal is a request.** `removable` draws `slAttachmentRemove` and makes
122
+ * `Backspace` and `Delete` answer anywhere inside the attachment; `(remove)`
123
+ * carries the reason and the file, and the list stays the page's. A held key
124
+ * does not repeat the request.
125
+ *
126
+ * **The refusal runs first.** A click inside the trigger, or on a family
127
+ * action written on an `a`, is refused here in the capture phase while the
128
+ * attachment is loading or disabled: a directive's host listener and a
129
+ * `(click)` the page wrote on the same element run in registration order, and
130
+ * the page's was registered first — the ordering `list-item` found.
131
+ */
132
+ class SlAttachment {
133
+ /** The file: its name, and its media type and size when they are known. */
134
+ file = input.required(/* @ts-ignore */
135
+ ...(ngDevMode ? [{ debugName: "file" }] : /* istanbul ignore next */ []));
136
+ /** The room the attachment gets. Falls back to the group, then the token, then `md`. */
137
+ size = input(undefined, /* @ts-ignore */
138
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
139
+ /** A row, or a card stood on end. Falls back to the group, then the token. */
140
+ orientation = input(undefined, /* @ts-ignore */
141
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
142
+ /** The file failed; painted from `data-invalid`, never `aria-invalid` on a list item. */
143
+ invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
144
+ /** Still on its way: `aria-busy`, the trigger refused, remove still operable. */
145
+ loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
146
+ /** Cannot be reached: the trigger, every action and remove are refused. */
147
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
148
+ /** Draws `slAttachmentRemove` and lets `Backspace` and `Delete` ask for removal. */
149
+ removable = input(false, { ...(ngDevMode ? { debugName: "removable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
150
+ /**
151
+ * Words laid over the catalog of the language in force, key by key: the
152
+ * remove control's name (`remove`, with the file's `{name}`) and the tile's
153
+ * word for a file without an extension.
154
+ */
155
+ messages = input(undefined, /* @ts-ignore */
156
+ ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
157
+ /** Asks to be taken out of the list. Not emitted while disabled, nor for a repeated key. */
158
+ remove = output();
159
+ defaults = injectAttachmentDefaults();
160
+ group = inject(SlAttachmentGroup, { optional: true });
161
+ id = `sl-attachment-${nextId++}`;
162
+ ids = { detail: `${this.id}-detail`, message: `${this.id}-message` };
163
+ /** The language in force, which writes the size the detail line shows. */
164
+ locale = injectLocale();
165
+ /** The family's words in the language in force, with this attachment's `messages` laid over them. */
166
+ t = injectMessages(attachmentMessages, this.messages);
167
+ resolvedSize = computed(() => this.size() ?? this.group?.size() ?? this.defaults.size, /* @ts-ignore */
168
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
169
+ resolvedOrientation = computed(() => this.orientation() ?? this.group?.orientation() ?? this.defaults.orientation, /* @ts-ignore */
170
+ ...(ngDevMode ? [{ debugName: "resolvedOrientation" }] : /* istanbul ignore next */ []));
171
+ kind = computed(() => {
172
+ const file = this.file();
173
+ return fileKind({ name: file.name, type: file.type ?? '' });
174
+ }, /* @ts-ignore */
175
+ ...(ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []));
176
+ split = computed(() => splitName(this.file().name), /* @ts-ignore */
177
+ ...(ngDevMode ? [{ debugName: "split" }] : /* istanbul ignore next */ []));
178
+ blocked = computed(() => this.disabled() || this.loading(), /* @ts-ignore */
179
+ ...(ngDevMode ? [{ debugName: "blocked" }] : /* istanbul ignore next */ []));
180
+ /**
181
+ * The ids of the describing parts on the page, so the trigger names only
182
+ * what exists — and the id each part actually carries, which is the page's
183
+ * own when it wrote one.
184
+ */
185
+ described = signal({
186
+ detail: null,
187
+ message: null,
188
+ }, /* @ts-ignore */
189
+ ...(ngDevMode ? [{ debugName: "described" }] : /* istanbul ignore next */ []));
190
+ constructor() {
191
+ const host = inject(ElementRef).nativeElement;
192
+ const refuse = (event) => {
193
+ const target = event.target;
194
+ const trigger = target?.closest('[data-part="trigger"]') != null;
195
+ const link = target?.closest('a[data-part="action"]') != null;
196
+ if (!(trigger && this.blocked()) && !(link && this.disabled()))
197
+ return;
198
+ event.preventDefault();
199
+ event.stopImmediatePropagation();
200
+ };
201
+ host.addEventListener('click', refuse, { capture: true });
202
+ inject(DestroyRef).onDestroy(() => host.removeEventListener('click', refuse, { capture: true }));
203
+ }
204
+ describe(part, id) {
205
+ this.described.update((current) => current[part] === id ? current : { ...current, [part]: id });
206
+ }
207
+ request(reason, source) {
208
+ if (!this.removable() || this.disabled())
209
+ return;
210
+ this.remove.emit({ reason, file: this.file(), source });
211
+ }
212
+ handleKeydown(event) {
213
+ if (event.defaultPrevented || event.repeat)
214
+ return;
215
+ if (event.key !== 'Backspace' && event.key !== 'Delete')
216
+ return;
217
+ if (!this.removable() || this.disabled())
218
+ return;
219
+ /* A field the page put inside an attachment keeps its own editing keys. */
220
+ const target = event.target;
221
+ if (target.isContentEditable || target.closest('input, textarea, select') !== null)
222
+ return;
223
+ event.preventDefault();
224
+ this.request('keyboard', event);
225
+ }
226
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachment, deps: [], target: i0.ɵɵFactoryTarget.Component });
227
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlAttachment, isStandalone: true, selector: "[slAttachment]", inputs: { file: { classPropertyName: "file", publicName: "file", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, removable: { classPropertyName: "removable", publicName: "removable", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { remove: "remove" }, host: { attributes: { "data-ui": "attachment", "data-part": "root" }, listeners: { "keydown": "handleKeydown($event)" }, properties: { "attr.data-kind": "kind()", "attr.data-size": "resolvedSize()", "attr.data-orientation": "resolvedOrientation()", "attr.data-invalid": "invalid() ? '' : null", "attr.data-loading": "loading() ? '' : null", "attr.data-disabled": "disabled() ? '' : null", "attr.aria-busy": "loading() ? 'true' : null" } }, exportAs: ["slAttachment"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@layer slotted.components{[data-ui=attachment][data-part=root],[data-ui=attachment][data-part=group]{--_font-size: var(--slotted-control-font-size-md, 13px);--_glyph-size: var(--slotted-control-icon-size-md, 16px);--_gap: var(--slotted-control-gap-md, 8px);--_inset: var(--slotted-attachment-padding-md, var(--slotted-space-4, .5rem));--_line-height: var(--slotted-line-height-md, 1.5);--_title-leading: round(up, calc(var(--_font-size) * var(--_line-height)), 1px);--_detail-size: var(--slotted-font-size-xs, .75rem);--_detail-leading: round(up, calc(var(--_detail-size) * var(--_line-height)), 1px);--_line-gap: var(--slotted-attachment-line-gap, var(--slotted-space-1, .125rem));--_preview-size: var( --slotted-attachment-preview-size, calc(var(--_title-leading) + var(--_line-gap) + var(--_detail-leading)) );--_preview-radius: var(--slotted-attachment-preview-radius, var(--slotted-radius-sm, 4px));--_card-size: var(--slotted-attachment-card-size, calc(3 * var(--_preview-size)));--_border-width: var(--slotted-attachment-border-width, var(--slotted-border-width-thin, 1px));--_action-glyph-size: max(var(--slotted-attachment-icon-size-min, 14px), var(--_glyph-size));--_action-size: var( --slotted-attachment-action-size, max( var(--slotted-target-min, 24px), calc(var(--_action-glyph-size) + 2 * var(--slotted-space-2, .25rem)) ) )}[data-ui=attachment][data-size=sm]:is([data-part=root],[data-part=group]){--_font-size: var(--slotted-control-font-size-sm, 12px);--_glyph-size: var(--slotted-control-icon-size-sm, 14px);--_gap: var(--slotted-control-gap-sm, 6px);--_inset: var(--slotted-attachment-padding-sm, var(--slotted-space-3, .375rem))}[data-ui=attachment][data-size=lg]:is([data-part=root],[data-part=group]){--_font-size: var(--slotted-control-font-size-lg, 14px);--_glyph-size: var(--slotted-control-icon-size-lg, 18px);--_gap: var(--slotted-control-gap-lg, 8px);--_inset: var(--slotted-attachment-padding-lg, var(--slotted-space-5, .75rem))}[data-ui=attachment][data-part=root]{--_surface: var(--slotted-attachment-background, var(--slotted-surface));--_edge: var(--slotted-attachment-border-color, var(--slotted-border-subtle));--_ink: var(--slotted-text);--_message-color: var(--slotted-text-muted);--_fill-hover: color-mix( in oklab, var(--_ink) var(--slotted-attachment-state-layer-hover, 4%), var(--_surface) );--_fill-active: color-mix( in oklab, var(--_ink) var(--slotted-attachment-state-layer-active, 8%), var(--_surface) );--_fill: var(--_surface);--_radius: var(--slotted-attachment-radius, var(--slotted-radius-lg, 8px));align-items:center;background-color:var(--_fill);border:var(--_border-width) solid var(--_edge);border-radius:var(--_radius);box-sizing:border-box;color:var(--_ink);column-gap:var(--_gap);display:grid;font-family:var(--slotted-attachment-font-family, var(--slotted-control-font-family));font-size:var(--_font-size);grid-template-areas:\"preview body actions\" \". message message\";grid-template-columns:auto minmax(0,1fr) auto;line-height:var(--_title-leading);list-style:none;margin:0;min-inline-size:0;overflow:clip;padding:var(--_inset);position:relative;text-align:start;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),border-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),opacity var(--slotted-duration-medium) var(--slotted-easing-enter),translate var(--slotted-duration-medium) var(--slotted-easing-enter)}[data-ui=attachment][data-part=root]:not(:has(>[data-part=actions])){grid-template-areas:\"preview body\" \". message\";grid-template-columns:auto minmax(0,1fr)}[data-ui=attachment][data-part=root]:not(:has(>[data-part=preview])){grid-template-areas:\"body actions\" \"message message\";grid-template-columns:minmax(0,1fr) auto}[data-ui=attachment][data-part=root]:not(:has(>[data-part=preview])):not(:has(>[data-part=actions])){grid-template-areas:\"body\" \"message\";grid-template-columns:minmax(0,1fr)}@starting-style{[data-ui=attachment][data-part=root]{opacity:0;translate:0 calc(-1 * var(--slotted-space-2, .25rem))}}[data-ui=attachment] [data-part=preview]{--_kind-tile: var(--slotted-upload-kind-other);align-items:center;background-color:var(--_kind-tile);block-size:var(--_preview-size);border-radius:var(--_preview-radius);box-sizing:border-box;color:var(--slotted-upload-kind-foreground);display:inline-flex;flex-direction:column;grid-area:preview;inline-size:var(--_preview-size);justify-content:center;overflow:hidden}[data-ui=attachment] [data-part=preview]>img{block-size:100%;display:block;inline-size:100%;object-fit:cover}[data-ui=attachment] [data-part=preview]>[data-ui=icon]{--slotted-icon-size: round(calc(var(--_preview-size) / 2), 1px)}[data-ui=attachment] [data-part=preview][data-kind=pdf]{--_kind-tile: var(--slotted-upload-kind-pdf)}[data-ui=attachment] [data-part=preview][data-kind=document]{--_kind-tile: var(--slotted-upload-kind-document)}[data-ui=attachment] [data-part=preview][data-kind=spreadsheet]{--_kind-tile: var(--slotted-upload-kind-spreadsheet)}[data-ui=attachment] [data-part=preview][data-kind=presentation]{--_kind-tile: var(--slotted-upload-kind-presentation)}[data-ui=attachment] [data-part=preview][data-kind=image]{--_kind-tile: var(--slotted-upload-kind-image)}[data-ui=attachment] [data-part=preview][data-kind=video]{--_kind-tile: var(--slotted-upload-kind-video)}[data-ui=attachment] [data-part=preview][data-kind=audio]{--_kind-tile: var(--slotted-upload-kind-audio)}[data-ui=attachment] [data-part=preview][data-kind=archive]{--_kind-tile: var(--slotted-upload-kind-archive)}[data-ui=attachment] [data-part=body]{display:flex;flex-direction:column;gap:var(--_line-gap);grid-area:body;min-inline-size:0}[data-ui=attachment] [data-part=trigger]{appearance:none;background:none;border:0;color:inherit;cursor:pointer;display:flex;font:inherit;line-height:inherit;margin:0;min-inline-size:0;padding:0;text-align:start;text-decoration:none;transition:translate var(--slotted-duration-instant) var(--slotted-control-transition-easing)}[data-ui=attachment] [data-part=trigger]:after{content:\"\";inset:0;position:absolute}[data-ui=attachment] [data-part=trigger]:not(:disabled):not([aria-disabled=true]):hover{text-decoration-line:underline;text-underline-offset:.2em}[data-ui=attachment] [data-part=trigger]:not(:disabled):not([aria-disabled=true]):active{text-decoration-line:underline;text-underline-offset:.2em;translate:0 var(--slotted-border-width-thin, 1px)}[data-ui=attachment] [data-part=trigger]:is(:disabled,[aria-disabled=true]){cursor:default}[data-ui=attachment] [data-part=trigger]:focus-visible{outline:none}[data-ui=attachment][data-part=root]:has(>[data-part=body]>[data-part=trigger]:focus-visible){outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=attachment][data-part=root]:not([data-disabled]):not([data-loading]):has(>[data-part=body]>[data-part=trigger]:hover){--_fill: var(--_fill-hover)}[data-ui=attachment][data-part=root]:not([data-disabled]):not([data-loading]):has(>[data-part=body]>[data-part=trigger]:active){--_fill: var(--_fill-active)}[data-ui=attachment] [data-part=filename]{display:flex;font-weight:var(--slotted-attachment-name-font-weight, var(--slotted-font-weight-medium, 500));line-height:var(--_title-leading);min-inline-size:0;unicode-bidi:isolate}[data-ui=attachment] [data-part=body]>[data-part=filename],[data-ui=attachment] [data-part=body]>[data-part=trigger]{align-self:start;max-inline-size:100%}[data-ui=attachment] [data-part=name]{flex:0 1 auto;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-ui=attachment] [data-part=extension]{flex:none;white-space:nowrap}[data-ui=attachment] [data-part=detail]{color:var(--slotted-text-muted);font-size:var(--_detail-size);font-variant-numeric:tabular-nums;line-height:var(--_detail-leading);margin:0;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-ui=attachment] [data-part=message]{color:var(--_message-color);font-size:var(--_detail-size);grid-area:message;line-height:var(--_detail-leading);margin:0;margin-block-start:var(--_line-gap);min-inline-size:0;overflow-wrap:anywhere}[data-ui=attachment] [data-part=progress]{display:block;inset-block-end:round(down,calc((var(--_inset) - var(--slotted-space-1, .125rem)) / 2),1px);inset-inline-end:var(--_inset);inset-inline-start:calc(var(--_inset) + var(--_preview-size) + var(--_gap));position:absolute;transition:opacity var(--slotted-duration-medium) var(--slotted-easing-enter)}[data-ui=attachment][data-part=root]:not(:has(>[data-part=preview]))>[data-part=progress],[data-ui=attachment][data-orientation=vertical]>[data-part=progress]{inset-inline-start:var(--_inset)}@starting-style{[data-ui=attachment] [data-part=progress]{opacity:0}}[data-ui=attachment] [data-part=actions]{align-items:center;display:inline-flex;gap:var(--slotted-space-1, .125rem);grid-area:actions;justify-content:flex-end;position:relative;z-index:1}[data-ui=attachment] [data-part=action],[data-ui=attachment] [data-part=remove]{--_state-hover: color-mix( in oklab, currentcolor var(--slotted-attachment-action-state-layer-hover, 8%), transparent );--_state-active: color-mix( in oklab, currentcolor var(--slotted-attachment-action-state-layer-active, 14%), transparent );align-items:center;appearance:none;background-color:transparent;block-size:var(--_action-size);border:0;border-radius:var(--slotted-attachment-action-radius, var(--slotted-control-radius, 4px));box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;flex:none;font:inherit;inline-size:var(--_action-size);justify-content:center;margin:0;padding:0;text-decoration:none;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui=attachment] [data-part=action]>[data-ui=icon],[data-ui=attachment] [data-part=remove]>[data-ui=icon]{--slotted-icon-size: var(--_action-glyph-size)}[data-ui=attachment] [data-part=action]:not(:disabled):not([aria-disabled=true]):hover,[data-ui=attachment] [data-part=remove]:not(:disabled):not([aria-disabled=true]):hover{background-color:var(--_state-hover)}[data-ui=attachment] [data-part=action]:not(:disabled):not([aria-disabled=true]):active,[data-ui=attachment] [data-part=remove]:not(:disabled):not([aria-disabled=true]):active{background-color:var(--_state-active)}[data-ui=attachment] [data-part=action]:is(:disabled,[aria-disabled=true]),[data-ui=attachment] [data-part=remove]:is(:disabled,[aria-disabled=true]){color:var(--slotted-disabled-foreground);cursor:default}[data-ui=attachment] [data-part=action]:focus-visible,[data-ui=attachment] [data-part=remove]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(-1 * var(--slotted-focus-ring-width, 2px))}@media(pointer:coarse){[data-ui=attachment] :is([data-part=action],[data-part=remove]){position:relative}[data-ui=attachment] :is([data-part=action],[data-part=remove]):after{content:\"\";inset:min(0px,calc((100% - var(--slotted-target-comfortable, 44px)) / 2));position:absolute}}[data-ui=attachment][data-part=root][data-invalid]{--_surface: var(--slotted-tone-danger-surface);--_edge: var(--slotted-tone-danger-border);--_message-color: var(--slotted-tone-danger-text);--_invalid-edge-width: var(--slotted-control-invalid-edge-width, var(--_border-width));box-shadow:inset 0 0 0 var(--_invalid-edge-width) var(--_edge)}[data-ui=attachment][data-part=root][data-disabled]{--_ink: var(--slotted-disabled-foreground)}[data-ui=attachment][data-part=root][data-disabled] [data-part=detail]{color:var(--slotted-disabled-foreground)}[data-ui=attachment][data-part=root][data-disabled] [data-part=preview]{--_kind-tile: var(--slotted-disabled-background);color:var(--slotted-disabled-foreground)}[data-ui=attachment][data-part=root][data-disabled] [data-part=preview]>img{filter:grayscale(1)}[data-ui=attachment][data-part=root][data-orientation=vertical]{align-items:stretch;grid-template-areas:\"preview\" \"body\" \"message\";grid-template-columns:minmax(0,1fr);inline-size:var(--_card-size)}[data-ui=attachment][data-orientation=vertical]>[data-part=preview]{--_preview-radius: var(--slotted-attachment-card-preview-radius, var(--slotted-radius-md, 6px));block-size:calc(var(--_card-size) - 2 * var(--_inset) - 2 * var(--_border-width));inline-size:100%}[data-ui=attachment][data-orientation=vertical]>[data-part=preview]>[data-ui=icon]{--slotted-icon-size: calc(2 * var(--_glyph-size))}[data-ui=attachment][data-orientation=vertical]>[data-part=preview]:not(:has(img)):after{content:attr(data-extension);font-size:var(--_detail-size);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--_detail-leading);margin-block-start:var(--slotted-space-2, .25rem)}[data-ui=attachment][data-orientation=vertical]>[data-part=body]{margin-block-start:var(--_gap)}[data-ui=attachment][data-orientation=vertical]>[data-part=actions]{background-color:color-mix(in oklab,var(--slotted-surface) var(--slotted-attachment-card-actions-opacity, 96%),transparent);border-radius:var(--slotted-attachment-action-radius, var(--slotted-control-radius, 4px));box-shadow:var(--slotted-shadow-xs);color:var(--slotted-text);grid-area:auto;inset-block-start:calc(var(--_inset) + var(--slotted-space-2, .25rem));inset-inline-end:calc(var(--_inset) + var(--slotted-space-2, .25rem));padding:var(--slotted-space-1, .125rem);position:absolute}@media(hover:hover)and (pointer:fine){[data-ui=attachment][data-orientation=vertical]:not([data-disabled])>[data-part=actions]{opacity:0;transition:opacity var(--slotted-duration-short) var(--slotted-easing-exit)}[data-ui=attachment][data-orientation=vertical]:not([data-disabled]):is(:hover,:focus-within)>[data-part=actions]{opacity:1;transition:opacity var(--slotted-duration-short) var(--slotted-easing-enter)}}[data-ui=attachment][data-part=group]{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--slotted-attachment-group-gap, var(--slotted-space-4, .5rem));list-style:none;margin:0;min-inline-size:0;padding:0}[data-ui=attachment][data-part=group]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=attachment][data-part=group]:empty{display:none}[data-ui=attachment][data-part=group][data-layout=grid]{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--slotted-attachment-grid-min, 16rem)),1fr))}[data-ui=attachment][data-part=group][data-layout=grid][data-orientation=vertical]{grid-template-columns:repeat(auto-fill,var(--_card-size))}[data-ui=attachment][data-part=group][data-layout=strip]{--_ring-reach: calc( var(--slotted-focus-ring-width, 2px) + var(--slotted-focus-ring-offset, 2px) );flex-direction:row;margin:calc(-1 * var(--_ring-reach));overflow-x:auto;overscroll-behavior-inline:contain;padding:var(--_ring-reach);scroll-padding-inline:var(--_ring-reach);scroll-snap-type:inline proximity;scrollbar-color:var(--slotted-border-strong) transparent;scrollbar-width:thin}[data-ui=attachment][data-part=group][data-layout=strip]>[data-part=root]{flex:none;scroll-snap-align:start}[data-ui=attachment][data-part=group][data-layout=strip]>[data-part=root][data-orientation=horizontal]{inline-size:var(--slotted-attachment-strip-item-size, 15rem)}@media(forced-colors:active){[data-ui=attachment][data-part=root][data-invalid]{--_edge: CanvasText}[data-ui=attachment][data-part=root][data-invalid]{outline:var(--_invalid-edge-width) solid CanvasText;outline-offset:calc(-1 * (var(--_border-width) + var(--_invalid-edge-width)))}[data-ui=attachment][data-part=root][data-invalid]:has(>[data-part=body]>[data-part=trigger]:focus-visible){outline:calc(var(--slotted-focus-ring-width, 2px) + var(--_invalid-edge-width)) double var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=attachment][data-part=root]:not([data-disabled]):not([data-loading]):has(>[data-part=body]>[data-part=trigger]:is(:hover,:active)){border-color:Highlight}[data-ui=attachment] [data-part=preview]{border:var(--_border-width) solid ButtonBorder}[data-ui=attachment] :is([data-part=action],[data-part=remove]):not(:disabled):not([aria-disabled=true]):is(:hover,:active){background-color:Highlight;color:HighlightText}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
228
+ }
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachment, decorators: [{
230
+ type: Component,
231
+ args: [{ selector: '[slAttachment]', standalone: true, exportAs: 'slAttachment', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
232
+ 'data-ui': 'attachment',
233
+ 'data-part': 'root',
234
+ '[attr.data-kind]': 'kind()',
235
+ '[attr.data-size]': 'resolvedSize()',
236
+ '[attr.data-orientation]': 'resolvedOrientation()',
237
+ '[attr.data-invalid]': "invalid() ? '' : null",
238
+ '[attr.data-loading]': "loading() ? '' : null",
239
+ '[attr.data-disabled]': "disabled() ? '' : null",
240
+ '[attr.aria-busy]': "loading() ? 'true' : null",
241
+ '(keydown)': 'handleKeydown($event)',
242
+ }, styles: ["@layer slotted.components{[data-ui=attachment][data-part=root],[data-ui=attachment][data-part=group]{--_font-size: var(--slotted-control-font-size-md, 13px);--_glyph-size: var(--slotted-control-icon-size-md, 16px);--_gap: var(--slotted-control-gap-md, 8px);--_inset: var(--slotted-attachment-padding-md, var(--slotted-space-4, .5rem));--_line-height: var(--slotted-line-height-md, 1.5);--_title-leading: round(up, calc(var(--_font-size) * var(--_line-height)), 1px);--_detail-size: var(--slotted-font-size-xs, .75rem);--_detail-leading: round(up, calc(var(--_detail-size) * var(--_line-height)), 1px);--_line-gap: var(--slotted-attachment-line-gap, var(--slotted-space-1, .125rem));--_preview-size: var( --slotted-attachment-preview-size, calc(var(--_title-leading) + var(--_line-gap) + var(--_detail-leading)) );--_preview-radius: var(--slotted-attachment-preview-radius, var(--slotted-radius-sm, 4px));--_card-size: var(--slotted-attachment-card-size, calc(3 * var(--_preview-size)));--_border-width: var(--slotted-attachment-border-width, var(--slotted-border-width-thin, 1px));--_action-glyph-size: max(var(--slotted-attachment-icon-size-min, 14px), var(--_glyph-size));--_action-size: var( --slotted-attachment-action-size, max( var(--slotted-target-min, 24px), calc(var(--_action-glyph-size) + 2 * var(--slotted-space-2, .25rem)) ) )}[data-ui=attachment][data-size=sm]:is([data-part=root],[data-part=group]){--_font-size: var(--slotted-control-font-size-sm, 12px);--_glyph-size: var(--slotted-control-icon-size-sm, 14px);--_gap: var(--slotted-control-gap-sm, 6px);--_inset: var(--slotted-attachment-padding-sm, var(--slotted-space-3, .375rem))}[data-ui=attachment][data-size=lg]:is([data-part=root],[data-part=group]){--_font-size: var(--slotted-control-font-size-lg, 14px);--_glyph-size: var(--slotted-control-icon-size-lg, 18px);--_gap: var(--slotted-control-gap-lg, 8px);--_inset: var(--slotted-attachment-padding-lg, var(--slotted-space-5, .75rem))}[data-ui=attachment][data-part=root]{--_surface: var(--slotted-attachment-background, var(--slotted-surface));--_edge: var(--slotted-attachment-border-color, var(--slotted-border-subtle));--_ink: var(--slotted-text);--_message-color: var(--slotted-text-muted);--_fill-hover: color-mix( in oklab, var(--_ink) var(--slotted-attachment-state-layer-hover, 4%), var(--_surface) );--_fill-active: color-mix( in oklab, var(--_ink) var(--slotted-attachment-state-layer-active, 8%), var(--_surface) );--_fill: var(--_surface);--_radius: var(--slotted-attachment-radius, var(--slotted-radius-lg, 8px));align-items:center;background-color:var(--_fill);border:var(--_border-width) solid var(--_edge);border-radius:var(--_radius);box-sizing:border-box;color:var(--_ink);column-gap:var(--_gap);display:grid;font-family:var(--slotted-attachment-font-family, var(--slotted-control-font-family));font-size:var(--_font-size);grid-template-areas:\"preview body actions\" \". message message\";grid-template-columns:auto minmax(0,1fr) auto;line-height:var(--_title-leading);list-style:none;margin:0;min-inline-size:0;overflow:clip;padding:var(--_inset);position:relative;text-align:start;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),border-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),opacity var(--slotted-duration-medium) var(--slotted-easing-enter),translate var(--slotted-duration-medium) var(--slotted-easing-enter)}[data-ui=attachment][data-part=root]:not(:has(>[data-part=actions])){grid-template-areas:\"preview body\" \". message\";grid-template-columns:auto minmax(0,1fr)}[data-ui=attachment][data-part=root]:not(:has(>[data-part=preview])){grid-template-areas:\"body actions\" \"message message\";grid-template-columns:minmax(0,1fr) auto}[data-ui=attachment][data-part=root]:not(:has(>[data-part=preview])):not(:has(>[data-part=actions])){grid-template-areas:\"body\" \"message\";grid-template-columns:minmax(0,1fr)}@starting-style{[data-ui=attachment][data-part=root]{opacity:0;translate:0 calc(-1 * var(--slotted-space-2, .25rem))}}[data-ui=attachment] [data-part=preview]{--_kind-tile: var(--slotted-upload-kind-other);align-items:center;background-color:var(--_kind-tile);block-size:var(--_preview-size);border-radius:var(--_preview-radius);box-sizing:border-box;color:var(--slotted-upload-kind-foreground);display:inline-flex;flex-direction:column;grid-area:preview;inline-size:var(--_preview-size);justify-content:center;overflow:hidden}[data-ui=attachment] [data-part=preview]>img{block-size:100%;display:block;inline-size:100%;object-fit:cover}[data-ui=attachment] [data-part=preview]>[data-ui=icon]{--slotted-icon-size: round(calc(var(--_preview-size) / 2), 1px)}[data-ui=attachment] [data-part=preview][data-kind=pdf]{--_kind-tile: var(--slotted-upload-kind-pdf)}[data-ui=attachment] [data-part=preview][data-kind=document]{--_kind-tile: var(--slotted-upload-kind-document)}[data-ui=attachment] [data-part=preview][data-kind=spreadsheet]{--_kind-tile: var(--slotted-upload-kind-spreadsheet)}[data-ui=attachment] [data-part=preview][data-kind=presentation]{--_kind-tile: var(--slotted-upload-kind-presentation)}[data-ui=attachment] [data-part=preview][data-kind=image]{--_kind-tile: var(--slotted-upload-kind-image)}[data-ui=attachment] [data-part=preview][data-kind=video]{--_kind-tile: var(--slotted-upload-kind-video)}[data-ui=attachment] [data-part=preview][data-kind=audio]{--_kind-tile: var(--slotted-upload-kind-audio)}[data-ui=attachment] [data-part=preview][data-kind=archive]{--_kind-tile: var(--slotted-upload-kind-archive)}[data-ui=attachment] [data-part=body]{display:flex;flex-direction:column;gap:var(--_line-gap);grid-area:body;min-inline-size:0}[data-ui=attachment] [data-part=trigger]{appearance:none;background:none;border:0;color:inherit;cursor:pointer;display:flex;font:inherit;line-height:inherit;margin:0;min-inline-size:0;padding:0;text-align:start;text-decoration:none;transition:translate var(--slotted-duration-instant) var(--slotted-control-transition-easing)}[data-ui=attachment] [data-part=trigger]:after{content:\"\";inset:0;position:absolute}[data-ui=attachment] [data-part=trigger]:not(:disabled):not([aria-disabled=true]):hover{text-decoration-line:underline;text-underline-offset:.2em}[data-ui=attachment] [data-part=trigger]:not(:disabled):not([aria-disabled=true]):active{text-decoration-line:underline;text-underline-offset:.2em;translate:0 var(--slotted-border-width-thin, 1px)}[data-ui=attachment] [data-part=trigger]:is(:disabled,[aria-disabled=true]){cursor:default}[data-ui=attachment] [data-part=trigger]:focus-visible{outline:none}[data-ui=attachment][data-part=root]:has(>[data-part=body]>[data-part=trigger]:focus-visible){outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=attachment][data-part=root]:not([data-disabled]):not([data-loading]):has(>[data-part=body]>[data-part=trigger]:hover){--_fill: var(--_fill-hover)}[data-ui=attachment][data-part=root]:not([data-disabled]):not([data-loading]):has(>[data-part=body]>[data-part=trigger]:active){--_fill: var(--_fill-active)}[data-ui=attachment] [data-part=filename]{display:flex;font-weight:var(--slotted-attachment-name-font-weight, var(--slotted-font-weight-medium, 500));line-height:var(--_title-leading);min-inline-size:0;unicode-bidi:isolate}[data-ui=attachment] [data-part=body]>[data-part=filename],[data-ui=attachment] [data-part=body]>[data-part=trigger]{align-self:start;max-inline-size:100%}[data-ui=attachment] [data-part=name]{flex:0 1 auto;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-ui=attachment] [data-part=extension]{flex:none;white-space:nowrap}[data-ui=attachment] [data-part=detail]{color:var(--slotted-text-muted);font-size:var(--_detail-size);font-variant-numeric:tabular-nums;line-height:var(--_detail-leading);margin:0;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-ui=attachment] [data-part=message]{color:var(--_message-color);font-size:var(--_detail-size);grid-area:message;line-height:var(--_detail-leading);margin:0;margin-block-start:var(--_line-gap);min-inline-size:0;overflow-wrap:anywhere}[data-ui=attachment] [data-part=progress]{display:block;inset-block-end:round(down,calc((var(--_inset) - var(--slotted-space-1, .125rem)) / 2),1px);inset-inline-end:var(--_inset);inset-inline-start:calc(var(--_inset) + var(--_preview-size) + var(--_gap));position:absolute;transition:opacity var(--slotted-duration-medium) var(--slotted-easing-enter)}[data-ui=attachment][data-part=root]:not(:has(>[data-part=preview]))>[data-part=progress],[data-ui=attachment][data-orientation=vertical]>[data-part=progress]{inset-inline-start:var(--_inset)}@starting-style{[data-ui=attachment] [data-part=progress]{opacity:0}}[data-ui=attachment] [data-part=actions]{align-items:center;display:inline-flex;gap:var(--slotted-space-1, .125rem);grid-area:actions;justify-content:flex-end;position:relative;z-index:1}[data-ui=attachment] [data-part=action],[data-ui=attachment] [data-part=remove]{--_state-hover: color-mix( in oklab, currentcolor var(--slotted-attachment-action-state-layer-hover, 8%), transparent );--_state-active: color-mix( in oklab, currentcolor var(--slotted-attachment-action-state-layer-active, 14%), transparent );align-items:center;appearance:none;background-color:transparent;block-size:var(--_action-size);border:0;border-radius:var(--slotted-attachment-action-radius, var(--slotted-control-radius, 4px));box-sizing:border-box;color:inherit;cursor:pointer;display:inline-flex;flex:none;font:inherit;inline-size:var(--_action-size);justify-content:center;margin:0;padding:0;text-decoration:none;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui=attachment] [data-part=action]>[data-ui=icon],[data-ui=attachment] [data-part=remove]>[data-ui=icon]{--slotted-icon-size: var(--_action-glyph-size)}[data-ui=attachment] [data-part=action]:not(:disabled):not([aria-disabled=true]):hover,[data-ui=attachment] [data-part=remove]:not(:disabled):not([aria-disabled=true]):hover{background-color:var(--_state-hover)}[data-ui=attachment] [data-part=action]:not(:disabled):not([aria-disabled=true]):active,[data-ui=attachment] [data-part=remove]:not(:disabled):not([aria-disabled=true]):active{background-color:var(--_state-active)}[data-ui=attachment] [data-part=action]:is(:disabled,[aria-disabled=true]),[data-ui=attachment] [data-part=remove]:is(:disabled,[aria-disabled=true]){color:var(--slotted-disabled-foreground);cursor:default}[data-ui=attachment] [data-part=action]:focus-visible,[data-ui=attachment] [data-part=remove]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(-1 * var(--slotted-focus-ring-width, 2px))}@media(pointer:coarse){[data-ui=attachment] :is([data-part=action],[data-part=remove]){position:relative}[data-ui=attachment] :is([data-part=action],[data-part=remove]):after{content:\"\";inset:min(0px,calc((100% - var(--slotted-target-comfortable, 44px)) / 2));position:absolute}}[data-ui=attachment][data-part=root][data-invalid]{--_surface: var(--slotted-tone-danger-surface);--_edge: var(--slotted-tone-danger-border);--_message-color: var(--slotted-tone-danger-text);--_invalid-edge-width: var(--slotted-control-invalid-edge-width, var(--_border-width));box-shadow:inset 0 0 0 var(--_invalid-edge-width) var(--_edge)}[data-ui=attachment][data-part=root][data-disabled]{--_ink: var(--slotted-disabled-foreground)}[data-ui=attachment][data-part=root][data-disabled] [data-part=detail]{color:var(--slotted-disabled-foreground)}[data-ui=attachment][data-part=root][data-disabled] [data-part=preview]{--_kind-tile: var(--slotted-disabled-background);color:var(--slotted-disabled-foreground)}[data-ui=attachment][data-part=root][data-disabled] [data-part=preview]>img{filter:grayscale(1)}[data-ui=attachment][data-part=root][data-orientation=vertical]{align-items:stretch;grid-template-areas:\"preview\" \"body\" \"message\";grid-template-columns:minmax(0,1fr);inline-size:var(--_card-size)}[data-ui=attachment][data-orientation=vertical]>[data-part=preview]{--_preview-radius: var(--slotted-attachment-card-preview-radius, var(--slotted-radius-md, 6px));block-size:calc(var(--_card-size) - 2 * var(--_inset) - 2 * var(--_border-width));inline-size:100%}[data-ui=attachment][data-orientation=vertical]>[data-part=preview]>[data-ui=icon]{--slotted-icon-size: calc(2 * var(--_glyph-size))}[data-ui=attachment][data-orientation=vertical]>[data-part=preview]:not(:has(img)):after{content:attr(data-extension);font-size:var(--_detail-size);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--_detail-leading);margin-block-start:var(--slotted-space-2, .25rem)}[data-ui=attachment][data-orientation=vertical]>[data-part=body]{margin-block-start:var(--_gap)}[data-ui=attachment][data-orientation=vertical]>[data-part=actions]{background-color:color-mix(in oklab,var(--slotted-surface) var(--slotted-attachment-card-actions-opacity, 96%),transparent);border-radius:var(--slotted-attachment-action-radius, var(--slotted-control-radius, 4px));box-shadow:var(--slotted-shadow-xs);color:var(--slotted-text);grid-area:auto;inset-block-start:calc(var(--_inset) + var(--slotted-space-2, .25rem));inset-inline-end:calc(var(--_inset) + var(--slotted-space-2, .25rem));padding:var(--slotted-space-1, .125rem);position:absolute}@media(hover:hover)and (pointer:fine){[data-ui=attachment][data-orientation=vertical]:not([data-disabled])>[data-part=actions]{opacity:0;transition:opacity var(--slotted-duration-short) var(--slotted-easing-exit)}[data-ui=attachment][data-orientation=vertical]:not([data-disabled]):is(:hover,:focus-within)>[data-part=actions]{opacity:1;transition:opacity var(--slotted-duration-short) var(--slotted-easing-enter)}}[data-ui=attachment][data-part=group]{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--slotted-attachment-group-gap, var(--slotted-space-4, .5rem));list-style:none;margin:0;min-inline-size:0;padding:0}[data-ui=attachment][data-part=group]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=attachment][data-part=group]:empty{display:none}[data-ui=attachment][data-part=group][data-layout=grid]{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--slotted-attachment-grid-min, 16rem)),1fr))}[data-ui=attachment][data-part=group][data-layout=grid][data-orientation=vertical]{grid-template-columns:repeat(auto-fill,var(--_card-size))}[data-ui=attachment][data-part=group][data-layout=strip]{--_ring-reach: calc( var(--slotted-focus-ring-width, 2px) + var(--slotted-focus-ring-offset, 2px) );flex-direction:row;margin:calc(-1 * var(--_ring-reach));overflow-x:auto;overscroll-behavior-inline:contain;padding:var(--_ring-reach);scroll-padding-inline:var(--_ring-reach);scroll-snap-type:inline proximity;scrollbar-color:var(--slotted-border-strong) transparent;scrollbar-width:thin}[data-ui=attachment][data-part=group][data-layout=strip]>[data-part=root]{flex:none;scroll-snap-align:start}[data-ui=attachment][data-part=group][data-layout=strip]>[data-part=root][data-orientation=horizontal]{inline-size:var(--slotted-attachment-strip-item-size, 15rem)}@media(forced-colors:active){[data-ui=attachment][data-part=root][data-invalid]{--_edge: CanvasText}[data-ui=attachment][data-part=root][data-invalid]{outline:var(--_invalid-edge-width) solid CanvasText;outline-offset:calc(-1 * (var(--_border-width) + var(--_invalid-edge-width)))}[data-ui=attachment][data-part=root][data-invalid]:has(>[data-part=body]>[data-part=trigger]:focus-visible){outline:calc(var(--slotted-focus-ring-width, 2px) + var(--_invalid-edge-width)) double var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=attachment][data-part=root]:not([data-disabled]):not([data-loading]):has(>[data-part=body]>[data-part=trigger]:is(:hover,:active)){border-color:Highlight}[data-ui=attachment] [data-part=preview]{border:var(--_border-width) solid ButtonBorder}[data-ui=attachment] :is([data-part=action],[data-part=remove]):not(:disabled):not([aria-disabled=true]):is(:hover,:active){background-color:Highlight;color:HighlightText}}}\n"] }]
243
+ }], ctorParameters: () => [], propDecorators: { file: [{ type: i0.Input, args: [{ isSignal: true, alias: "file", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], removable: [{ type: i0.Input, args: [{ isSignal: true, alias: "removable", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], remove: [{ type: i0.Output, args: ["remove"] }] } });
244
+
245
+ function attachment() {
246
+ const owner = inject(SlAttachment, { optional: true });
247
+ if (owner === null)
248
+ throw new Error('An attachment part is rendered outside slAttachment.');
249
+ return owner;
250
+ }
251
+ /**
252
+ * Registers a describing part with its attachment for as long as it exists,
253
+ * under the id it carries: the page's own when it wrote one.
254
+ */
255
+ function describes(part) {
256
+ const owner = attachment();
257
+ const id = inject(new HostAttributeToken('id'), { optional: true }) ?? owner.ids[part];
258
+ owner.describe(part, id);
259
+ inject(DestroyRef).onDestroy(() => owner.describe(part, null));
260
+ return { owner, id };
261
+ }
262
+ /**
263
+ * The kind's tile with the kind's mark knocked out of it, or the thumbnail the
264
+ * page gives. A thumbnail that fails to load returns to the tile: the failure
265
+ * is this part's own state, not a state of the file. Hidden from assistive
266
+ * technology, because the name already says what the file is.
267
+ */
268
+ class SlAttachmentPreview {
269
+ /** A thumbnail. Absent, or failing to load, the kind's tile is drawn instead. */
270
+ src = input(undefined, /* @ts-ignore */
271
+ ...(ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []));
272
+ owner = attachment();
273
+ failed = signal(undefined, /* @ts-ignore */
274
+ ...(ngDevMode ? [{ debugName: "failed" }] : /* istanbul ignore next */ []));
275
+ picture = computed(() => {
276
+ const src = this.src();
277
+ return src !== undefined && src !== this.failed();
278
+ }, /* @ts-ignore */
279
+ ...(ngDevMode ? [{ debugName: "picture" }] : /* istanbul ignore next */ []));
280
+ glyph = computed(() => ATTACHMENT_KIND_GLYPH[this.owner.kind()], /* @ts-ignore */
281
+ ...(ngDevMode ? [{ debugName: "glyph" }] : /* istanbul ignore next */ []));
282
+ extension = computed(() => {
283
+ const extension = this.owner.split().extension;
284
+ return extension === '' ? this.owner.t('noExtension') : extension.slice(1).toUpperCase();
285
+ }, /* @ts-ignore */
286
+ ...(ngDevMode ? [{ debugName: "extension" }] : /* istanbul ignore next */ []));
287
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentPreview, deps: [], target: i0.ɵɵFactoryTarget.Component });
288
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlAttachmentPreview, isStandalone: true, selector: "[slAttachmentPreview]", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true", "data-part": "preview" }, properties: { "attr.data-kind": "owner.kind()", "attr.data-extension": "extension()" } }, exportAs: ["slAttachmentPreview"], ngImport: i0, template: `@if (picture()) {
289
+ <img alt="" [src]="src()" (error)="failed.set(src())" />
290
+ } @else {
291
+ <span slIcon><svg slGlyph [name]="glyph()"></svg></span>
292
+ }`, isInline: true, dependencies: [{ kind: "component", type: SlGlyph, selector: "svg[slGlyph]", inputs: ["name", "solid"] }, { kind: "component", type: SlIcon, selector: "[slIcon]", inputs: ["directional", "label", "size", "tone"], exportAs: ["slIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
293
+ }
294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentPreview, decorators: [{
295
+ type: Component,
296
+ args: [{
297
+ selector: '[slAttachmentPreview]',
298
+ standalone: true,
299
+ exportAs: 'slAttachmentPreview',
300
+ imports: [SlGlyph, SlIcon],
301
+ template: `@if (picture()) {
302
+ <img alt="" [src]="src()" (error)="failed.set(src())" />
303
+ } @else {
304
+ <span slIcon><svg slGlyph [name]="glyph()"></svg></span>
305
+ }`,
306
+ changeDetection: ChangeDetectionStrategy.OnPush,
307
+ encapsulation: ViewEncapsulation.None,
308
+ host: {
309
+ 'aria-hidden': 'true',
310
+ 'data-part': 'preview',
311
+ '[attr.data-kind]': 'owner.kind()',
312
+ '[attr.data-extension]': 'extension()',
313
+ },
314
+ }]
315
+ }], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }] } });
316
+ /** The text column, and the one box in the attachment that may shrink. */
317
+ class SlAttachmentBody {
318
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentBody, deps: [], target: i0.ɵɵFactoryTarget.Directive });
319
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentBody, isStandalone: true, selector: "[slAttachmentBody]", host: { attributes: { "data-part": "body" } }, exportAs: ["slAttachmentBody"], ngImport: i0 });
320
+ }
321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentBody, decorators: [{
322
+ type: Directive,
323
+ args: [{
324
+ selector: '[slAttachmentBody]',
325
+ standalone: true,
326
+ exportAs: 'slAttachmentBody',
327
+ host: { 'data-part': 'body' },
328
+ }]
329
+ }] });
330
+ /**
331
+ * The file name as two runs — the stem, which shrinks to an ellipsis, and the
332
+ * extension, which does not — in the name's own direction. Content the page
333
+ * projects replaces the two runs.
334
+ */
335
+ class SlAttachmentFilename {
336
+ owner = attachment();
337
+ dir = inject(new HostAttributeToken('dir'), { optional: true }) ?? 'auto';
338
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentFilename, deps: [], target: i0.ɵɵFactoryTarget.Component });
339
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlAttachmentFilename, isStandalone: true, selector: "[slAttachmentFilename]", host: { attributes: { "data-part": "filename" }, properties: { "attr.dir": "dir" } }, exportAs: ["slAttachmentFilename"], ngImport: i0, template: `<ng-content
340
+ ><span data-part="name">{{ owner.split().stem }}</span>
341
+ @if (owner.split().extension) {
342
+ <span data-part="extension">{{ owner.split().extension }}</span>
343
+ }
344
+ </ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
345
+ }
346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentFilename, decorators: [{
347
+ type: Component,
348
+ args: [{
349
+ selector: '[slAttachmentFilename]',
350
+ standalone: true,
351
+ exportAs: 'slAttachmentFilename',
352
+ template: `<ng-content
353
+ ><span data-part="name">{{ owner.split().stem }}</span>
354
+ @if (owner.split().extension) {
355
+ <span data-part="extension">{{ owner.split().extension }}</span>
356
+ }
357
+ </ng-content>`,
358
+ changeDetection: ChangeDetectionStrategy.OnPush,
359
+ encapsulation: ViewEncapsulation.None,
360
+ host: {
361
+ 'data-part': 'filename',
362
+ '[attr.dir]': 'dir',
363
+ },
364
+ }]
365
+ }] });
366
+ /**
367
+ * The file's target: `<a slAttachmentTrigger [href]>` for a file with an
368
+ * address, so `href`, `download` and a modified click stay the platform's;
369
+ * `<button slAttachmentTrigger>` for a viewer the page opens. Named by the
370
+ * file, described by the detail and the message, and stretched over the whole
371
+ * attachment. A `button` takes the native `disabled` while the file is loading
372
+ * or unavailable; an `a` takes `aria-disabled` and keeps its destination, and
373
+ * `slAttachment` refuses the activation.
374
+ */
375
+ class SlAttachmentTrigger {
376
+ owner = attachment();
377
+ isButton = inject(ElementRef).nativeElement.tagName === 'BUTTON';
378
+ title = inject(new HostAttributeToken('title'), { optional: true });
379
+ type = inject(new HostAttributeToken('type'), { optional: true });
380
+ /** A description the page wrote comes first; the family's ids are joined to it. */
381
+ written = inject(new HostAttributeToken('aria-describedby'), {
382
+ optional: true,
383
+ });
384
+ describedBy = computed(() => {
385
+ const described = this.owner.described();
386
+ const ids = [
387
+ ...(this.written === null ? [] : [this.written]),
388
+ ...(described.detail === null ? [] : [described.detail]),
389
+ ...(described.message === null ? [] : [described.message]),
390
+ ];
391
+ return ids.length === 0 ? null : ids.join(' ');
392
+ }, /* @ts-ignore */
393
+ ...(ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []));
394
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentTrigger, deps: [], target: i0.ɵɵFactoryTarget.Component });
395
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentTrigger, isStandalone: true, selector: "a[slAttachmentTrigger], button[slAttachmentTrigger]", host: { attributes: { "data-part": "trigger" }, properties: { "attr.title": "title ?? owner.file().name", "attr.aria-describedby": "describedBy()", "attr.disabled": "isButton && owner.blocked() ? '' : null", "attr.aria-disabled": "!isButton && owner.blocked() ? 'true' : null", "attr.type": "isButton ? (type ?? 'button') : null" } }, exportAs: ["slAttachmentTrigger"], ngImport: i0, template: `<ng-content><span slAttachmentFilename></span></ng-content>`, isInline: true, dependencies: [{ kind: "component", type: SlAttachmentFilename, selector: "[slAttachmentFilename]", exportAs: ["slAttachmentFilename"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
396
+ }
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentTrigger, decorators: [{
398
+ type: Component,
399
+ args: [{
400
+ selector: 'a[slAttachmentTrigger], button[slAttachmentTrigger]',
401
+ standalone: true,
402
+ exportAs: 'slAttachmentTrigger',
403
+ imports: [SlAttachmentFilename],
404
+ template: `<ng-content><span slAttachmentFilename></span></ng-content>`,
405
+ changeDetection: ChangeDetectionStrategy.OnPush,
406
+ encapsulation: ViewEncapsulation.None,
407
+ host: {
408
+ 'data-part': 'trigger',
409
+ '[attr.title]': 'title ?? owner.file().name',
410
+ '[attr.aria-describedby]': 'describedBy()',
411
+ '[attr.disabled]': "isButton && owner.blocked() ? '' : null",
412
+ '[attr.aria-disabled]': "!isButton && owner.blocked() ? 'true' : null",
413
+ '[attr.type]': "isButton ? (type ?? 'button') : null",
414
+ },
415
+ }]
416
+ }] });
417
+ /**
418
+ * The line under the name. With nothing projected it writes the size with
419
+ * `formatBytes` in the language in force; anything the page writes replaces it.
420
+ */
421
+ class SlAttachmentDetail {
422
+ wiring = describes('detail');
423
+ owner = this.wiring.owner;
424
+ bytes = computed(() => {
425
+ const size = this.owner.file().size;
426
+ return size === undefined ? '' : formatBytes(size, this.owner.locale());
427
+ }, /* @ts-ignore */
428
+ ...(ngDevMode ? [{ debugName: "bytes" }] : /* istanbul ignore next */ []));
429
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentDetail, deps: [], target: i0.ɵɵFactoryTarget.Component });
430
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentDetail, isStandalone: true, selector: "[slAttachmentDetail]", host: { attributes: { "data-part": "detail" }, properties: { "attr.id": "wiring.id" } }, exportAs: ["slAttachmentDetail"], ngImport: i0, template: `<ng-content>{{ bytes() }}</ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
431
+ }
432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentDetail, decorators: [{
433
+ type: Component,
434
+ args: [{
435
+ selector: '[slAttachmentDetail]',
436
+ standalone: true,
437
+ exportAs: 'slAttachmentDetail',
438
+ template: `<ng-content>{{ bytes() }}</ng-content>`,
439
+ changeDetection: ChangeDetectionStrategy.OnPush,
440
+ encapsulation: ViewEncapsulation.None,
441
+ host: {
442
+ 'data-part': 'detail',
443
+ '[attr.id]': 'wiring.id',
444
+ },
445
+ }]
446
+ }] });
447
+ /** Why the file failed, or anything longer than a line the page must say about it. */
448
+ class SlAttachmentMessage {
449
+ wiring = describes('message');
450
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentMessage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
451
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentMessage, isStandalone: true, selector: "[slAttachmentMessage]", host: { attributes: { "data-part": "message" }, properties: { "attr.id": "wiring.id" } }, exportAs: ["slAttachmentMessage"], ngImport: i0 });
452
+ }
453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentMessage, decorators: [{
454
+ type: Directive,
455
+ args: [{
456
+ selector: '[slAttachmentMessage]',
457
+ standalone: true,
458
+ exportAs: 'slAttachmentMessage',
459
+ host: {
460
+ 'data-part': 'message',
461
+ '[attr.id]': 'wiring.id',
462
+ },
463
+ }]
464
+ }] });
465
+ /**
466
+ * The transfer, as the attachment's bottom edge: `slProgressBar`, named by the
467
+ * file so a reader hears the name and the percentage together. Without a
468
+ * `value` the bar is indeterminate.
469
+ */
470
+ class SlAttachmentProgress {
471
+ /** Per cent, 0 to 100. Absent, the bar is indeterminate. */
472
+ value = input(undefined, /* @ts-ignore */
473
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
474
+ owner = attachment();
475
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentProgress, deps: [], target: i0.ɵɵFactoryTarget.Component });
476
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlAttachmentProgress, isStandalone: true, selector: "[slAttachmentProgress]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-part": "progress" } }, exportAs: ["slAttachmentProgress"], ngImport: i0, template: `<div
477
+ slProgressBar
478
+ hideLabel
479
+ size="sm"
480
+ [label]="owner.file().name"
481
+ [tone]="owner.invalid() ? 'danger' : 'accent'"
482
+ [value]="value() ?? null"
483
+ ></div>`, isInline: true, dependencies: [{ kind: "component", type: SlProgressBar, selector: "[slProgressBar]", inputs: ["value", "min", "max", "buffer", "showValue", "valueText", "format", "locale", "wave", "placement"], exportAs: ["slProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
484
+ }
485
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentProgress, decorators: [{
486
+ type: Component,
487
+ args: [{
488
+ selector: '[slAttachmentProgress]',
489
+ standalone: true,
490
+ exportAs: 'slAttachmentProgress',
491
+ imports: [SlProgressBar],
492
+ template: `<div
493
+ slProgressBar
494
+ hideLabel
495
+ size="sm"
496
+ [label]="owner.file().name"
497
+ [tone]="owner.invalid() ? 'danger' : 'accent'"
498
+ [value]="value() ?? null"
499
+ ></div>`,
500
+ changeDetection: ChangeDetectionStrategy.OnPush,
501
+ encapsulation: ViewEncapsulation.None,
502
+ host: { 'data-part': 'progress' },
503
+ }]
504
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
505
+ /**
506
+ * The controls the application offers on the file, beside the trigger and
507
+ * above its stretched target: interactive content may not nest inside `a` or
508
+ * `button`.
509
+ */
510
+ class SlAttachmentActions {
511
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentActions, deps: [], target: i0.ɵɵFactoryTarget.Directive });
512
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentActions, isStandalone: true, selector: "[slAttachmentActions]", host: { attributes: { "data-part": "actions" } }, exportAs: ["slAttachmentActions"], ngImport: i0 });
513
+ }
514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentActions, decorators: [{
515
+ type: Directive,
516
+ args: [{
517
+ selector: '[slAttachmentActions]',
518
+ standalone: true,
519
+ exportAs: 'slAttachmentActions',
520
+ host: { 'data-part': 'actions' },
521
+ }]
522
+ }] });
523
+ /**
524
+ * One icon control of the application's own, on the `button` or the `a` the
525
+ * page wrote — an `a` with `download` is a download. It needs an
526
+ * `aria-label`. An unavailable attachment disables it: the native `disabled`
527
+ * on a button, `aria-disabled` on a link, whose activation `slAttachment`
528
+ * refuses.
529
+ */
530
+ class SlAttachmentAction {
531
+ owner = attachment();
532
+ isButton = inject(ElementRef).nativeElement.tagName === 'BUTTON';
533
+ type = inject(new HostAttributeToken('type'), { optional: true });
534
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentAction, deps: [], target: i0.ɵɵFactoryTarget.Directive });
535
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentAction, isStandalone: true, selector: "button[slAttachmentAction], a[slAttachmentAction]", host: { attributes: { "data-part": "action" }, properties: { "attr.disabled": "isButton && owner.disabled() ? '' : null", "attr.aria-disabled": "!isButton && owner.disabled() ? 'true' : null", "attr.type": "isButton ? (type ?? 'button') : null" } }, exportAs: ["slAttachmentAction"], ngImport: i0 });
536
+ }
537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentAction, decorators: [{
538
+ type: Directive,
539
+ args: [{
540
+ selector: 'button[slAttachmentAction], a[slAttachmentAction]',
541
+ standalone: true,
542
+ exportAs: 'slAttachmentAction',
543
+ host: {
544
+ 'data-part': 'action',
545
+ '[attr.disabled]': "isButton && owner.disabled() ? '' : null",
546
+ '[attr.aria-disabled]': "!isButton && owner.disabled() ? 'true' : null",
547
+ '[attr.type]': "isButton ? (type ?? 'button') : null",
548
+ },
549
+ }]
550
+ }] });
551
+ /**
552
+ * Asks to take the attachment out of its list, on the `button` the page
553
+ * wrote. Hidden unless the attachment is `removable`, so a read-only thread
554
+ * shows no control that does nothing. Its name is the word and the file,
555
+ * `Remove claim-form.pdf`, unless the page wrote its own `aria-label`.
556
+ */
557
+ class SlAttachmentRemove {
558
+ owner = attachment();
559
+ written = inject(new HostAttributeToken('aria-label'), { optional: true });
560
+ label = computed(() => this.written ?? this.owner.t('remove', { name: this.owner.file().name }), /* @ts-ignore */
561
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
562
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentRemove, deps: [], target: i0.ɵɵFactoryTarget.Component });
563
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: SlAttachmentRemove, isStandalone: true, selector: "button[slAttachmentRemove]", host: { attributes: { "data-part": "remove", "type": "button" }, listeners: { "click": "owner.request(\"remove\", $event)" }, properties: { "attr.hidden": "owner.removable() ? null : ''", "attr.aria-label": "label()", "attr.disabled": "owner.disabled() ? '' : null" } }, exportAs: ["slAttachmentRemove"], ngImport: i0, template: `<ng-content
564
+ ><span slIcon><svg slGlyph name="x"></svg></span
565
+ ></ng-content>`, isInline: true, dependencies: [{ kind: "component", type: SlGlyph, selector: "svg[slGlyph]", inputs: ["name", "solid"] }, { kind: "component", type: SlIcon, selector: "[slIcon]", inputs: ["directional", "label", "size", "tone"], exportAs: ["slIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
566
+ }
567
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlAttachmentRemove, decorators: [{
568
+ type: Component,
569
+ args: [{
570
+ selector: 'button[slAttachmentRemove]',
571
+ standalone: true,
572
+ exportAs: 'slAttachmentRemove',
573
+ imports: [SlGlyph, SlIcon],
574
+ template: `<ng-content
575
+ ><span slIcon><svg slGlyph name="x"></svg></span
576
+ ></ng-content>`,
577
+ changeDetection: ChangeDetectionStrategy.OnPush,
578
+ encapsulation: ViewEncapsulation.None,
579
+ host: {
580
+ 'data-part': 'remove',
581
+ type: 'button',
582
+ '[attr.hidden]': "owner.removable() ? null : ''",
583
+ '[attr.aria-label]': 'label()',
584
+ '[attr.disabled]': "owner.disabled() ? '' : null",
585
+ '(click)': 'owner.request("remove", $event)',
586
+ },
587
+ }]
588
+ }] });
589
+
590
+ /**
591
+ * Generated bundle index. Do not edit.
592
+ */
593
+
594
+ export { ATTACHMENT_CONTROL_SELECTOR, ATTACHMENT_DEFAULTS, ATTACHMENT_KIND_GLYPH, SlAttachment, SlAttachmentAction, SlAttachmentActions, SlAttachmentBody, SlAttachmentDetail, SlAttachmentFilename, SlAttachmentGroup, SlAttachmentMessage, SlAttachmentPreview, SlAttachmentProgress, SlAttachmentRemove, SlAttachmentTrigger, injectAttachmentDefaults, provideAttachmentDefaults };
595
+ //# sourceMappingURL=slotted-angular-attachment.mjs.map