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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +51 -2
  3. package/docs/AGENTS.snippet.md +10 -0
  4. package/docs/accordion.json +345 -0
  5. package/docs/accordion.md +207 -0
  6. package/docs/action-bar.json +421 -0
  7. package/docs/action-bar.md +364 -0
  8. package/docs/action-sheet.json +210 -0
  9. package/docs/action-sheet.md +19 -0
  10. package/docs/alert.json +407 -0
  11. package/docs/alert.md +239 -0
  12. package/docs/app-shell.examples.md +349 -0
  13. package/docs/app-shell.json +835 -0
  14. package/docs/app-shell.md +214 -0
  15. package/docs/aspect-ratio.json +159 -0
  16. package/docs/aspect-ratio.md +134 -0
  17. package/docs/attachment.json +486 -0
  18. package/docs/attachment.md +253 -0
  19. package/docs/avatar-group.json +208 -0
  20. package/docs/avatar-group.md +130 -0
  21. package/docs/avatar.json +342 -0
  22. package/docs/avatar.md +142 -0
  23. package/docs/badge.json +334 -0
  24. package/docs/badge.md +138 -0
  25. package/docs/breadcrumb.json +368 -0
  26. package/docs/breadcrumb.md +237 -0
  27. package/docs/button-group.json +158 -0
  28. package/docs/button-group.md +72 -0
  29. package/docs/button.examples.md +621 -0
  30. package/docs/button.json +977 -0
  31. package/docs/button.md +200 -0
  32. package/docs/calendar.json +592 -0
  33. package/docs/calendar.md +242 -0
  34. package/docs/card.json +283 -0
  35. package/docs/card.md +130 -0
  36. package/docs/carousel.json +560 -0
  37. package/docs/carousel.md +357 -0
  38. package/docs/cascader.json +933 -0
  39. package/docs/cascader.md +379 -0
  40. package/docs/chart.examples.md +582 -0
  41. package/docs/chart.json +1359 -0
  42. package/docs/chart.md +187 -0
  43. package/docs/checkbox-group.examples.md +612 -0
  44. package/docs/checkbox-group.json +395 -0
  45. package/docs/checkbox-group.md +106 -0
  46. package/docs/checkbox.examples.md +546 -0
  47. package/docs/checkbox.json +506 -0
  48. package/docs/checkbox.md +104 -0
  49. package/docs/code-block.json +616 -0
  50. package/docs/code-block.md +303 -0
  51. package/docs/collapsible.json +456 -0
  52. package/docs/collapsible.md +261 -0
  53. package/docs/color-picker.json +523 -0
  54. package/docs/color-picker.md +201 -0
  55. package/docs/column-manager.json +486 -0
  56. package/docs/column-manager.md +277 -0
  57. package/docs/combobox.examples.md +1732 -0
  58. package/docs/combobox.json +1250 -0
  59. package/docs/combobox.md +209 -0
  60. package/docs/command-palette.json +800 -0
  61. package/docs/command-palette.md +419 -0
  62. package/docs/container.json +156 -0
  63. package/docs/container.md +92 -0
  64. package/docs/context-menu.json +231 -0
  65. package/docs/context-menu.md +176 -0
  66. package/docs/currency-field.examples.md +321 -0
  67. package/docs/currency-field.json +649 -0
  68. package/docs/currency-field.md +128 -0
  69. package/docs/dashboard-grid.json +680 -0
  70. package/docs/dashboard-grid.md +265 -0
  71. package/docs/data-grid.examples.md +3064 -0
  72. package/docs/data-grid.json +1577 -0
  73. package/docs/data-grid.md +237 -0
  74. package/docs/data-grid.props.md +81 -0
  75. package/docs/data-list.json +685 -0
  76. package/docs/data-list.md +327 -0
  77. package/docs/date-field.json +490 -0
  78. package/docs/date-field.md +235 -0
  79. package/docs/date-picker.examples.md +1226 -0
  80. package/docs/date-picker.json +696 -0
  81. package/docs/date-picker.md +121 -0
  82. package/docs/date-range-picker.examples.md +1300 -0
  83. package/docs/date-range-picker.json +903 -0
  84. package/docs/date-range-picker.md +142 -0
  85. package/docs/datetime-field.json +665 -0
  86. package/docs/datetime-field.md +337 -0
  87. package/docs/datetime-picker.examples.md +1269 -0
  88. package/docs/datetime-picker.json +928 -0
  89. package/docs/datetime-picker.md +150 -0
  90. package/docs/datetime-range-picker.examples.md +225 -0
  91. package/docs/datetime-range-picker.json +1015 -0
  92. package/docs/datetime-range-picker.md +162 -0
  93. package/docs/description-list.json +471 -0
  94. package/docs/description-list.md +268 -0
  95. package/docs/detail-panel.json +530 -0
  96. package/docs/detail-panel.md +361 -0
  97. package/docs/dialog.examples.md +2467 -0
  98. package/docs/dialog.json +1141 -0
  99. package/docs/dialog.md +217 -0
  100. package/docs/dialog.props.md +63 -0
  101. package/docs/divider.json +148 -0
  102. package/docs/divider.md +83 -0
  103. package/docs/drawer.examples.md +1929 -0
  104. package/docs/drawer.json +753 -0
  105. package/docs/drawer.md +199 -0
  106. package/docs/entity-picker.json +946 -0
  107. package/docs/entity-picker.md +365 -0
  108. package/docs/event-calendar.examples.md +308 -0
  109. package/docs/event-calendar.json +1202 -0
  110. package/docs/event-calendar.md +201 -0
  111. package/docs/field-group.json +333 -0
  112. package/docs/field-group.md +181 -0
  113. package/docs/field.examples.md +676 -0
  114. package/docs/field.json +528 -0
  115. package/docs/field.md +127 -0
  116. package/docs/filter-bar.json +817 -0
  117. package/docs/filter-bar.md +380 -0
  118. package/docs/form.json +378 -0
  119. package/docs/form.md +235 -0
  120. package/docs/fullscreen.json +395 -0
  121. package/docs/fullscreen.md +225 -0
  122. package/docs/grid.json +176 -0
  123. package/docs/grid.md +74 -0
  124. package/docs/highlight.json +279 -0
  125. package/docs/highlight.md +210 -0
  126. package/docs/hover-card.json +254 -0
  127. package/docs/hover-card.md +213 -0
  128. package/docs/icon.json +173 -0
  129. package/docs/icon.md +101 -0
  130. package/docs/image.json +476 -0
  131. package/docs/image.md +254 -0
  132. package/docs/import-export-center.json +836 -0
  133. package/docs/import-export-center.md +345 -0
  134. package/docs/index.md +141 -0
  135. package/docs/inline-message.json +312 -0
  136. package/docs/inline-message.md +191 -0
  137. package/docs/inline.json +149 -0
  138. package/docs/inline.md +72 -0
  139. package/docs/kbd.json +350 -0
  140. package/docs/kbd.md +210 -0
  141. package/docs/link.json +264 -0
  142. package/docs/link.md +167 -0
  143. package/docs/list-item.json +463 -0
  144. package/docs/list-item.md +236 -0
  145. package/docs/list.json +321 -0
  146. package/docs/list.md +185 -0
  147. package/docs/listbox.json +807 -0
  148. package/docs/listbox.md +413 -0
  149. package/docs/loading-overlay.json +440 -0
  150. package/docs/loading-overlay.md +248 -0
  151. package/docs/markdown.json +461 -0
  152. package/docs/markdown.md +266 -0
  153. package/docs/menu.examples.md +1651 -0
  154. package/docs/menu.json +922 -0
  155. package/docs/menu.md +155 -0
  156. package/docs/menubar.json +292 -0
  157. package/docs/menubar.md +173 -0
  158. package/docs/message-scroller.json +401 -0
  159. package/docs/message-scroller.md +212 -0
  160. package/docs/message.json +862 -0
  161. package/docs/message.md +473 -0
  162. package/docs/multi-select.examples.md +1922 -0
  163. package/docs/multi-select.json +1314 -0
  164. package/docs/multi-select.md +213 -0
  165. package/docs/navigation-menu.json +529 -0
  166. package/docs/navigation-menu.md +329 -0
  167. package/docs/notification-center.json +664 -0
  168. package/docs/notification-center.md +372 -0
  169. package/docs/number-field.examples.md +1078 -0
  170. package/docs/number-field.json +668 -0
  171. package/docs/number-field.md +137 -0
  172. package/docs/otp-input.json +479 -0
  173. package/docs/otp-input.md +291 -0
  174. package/docs/page-header.json +574 -0
  175. package/docs/page-header.md +338 -0
  176. package/docs/page.json +332 -0
  177. package/docs/page.md +184 -0
  178. package/docs/pagination.json +434 -0
  179. package/docs/pagination.md +238 -0
  180. package/docs/popover.examples.md +1235 -0
  181. package/docs/popover.json +656 -0
  182. package/docs/popover.md +199 -0
  183. package/docs/progress-indicator.json +501 -0
  184. package/docs/progress-indicator.md +329 -0
  185. package/docs/prompt-composer.json +498 -0
  186. package/docs/prompt-composer.md +278 -0
  187. package/docs/prose.json +357 -0
  188. package/docs/prose.md +226 -0
  189. package/docs/radio-group.examples.md +626 -0
  190. package/docs/radio-group.json +541 -0
  191. package/docs/radio-group.md +112 -0
  192. package/docs/rating.json +1053 -0
  193. package/docs/rating.md +435 -0
  194. package/docs/result-state.json +376 -0
  195. package/docs/result-state.md +286 -0
  196. package/docs/saved-views.json +384 -0
  197. package/docs/saved-views.md +242 -0
  198. package/docs/scroll-area.json +120 -0
  199. package/docs/scroll-area.md +8 -0
  200. package/docs/section.json +344 -0
  201. package/docs/section.md +208 -0
  202. package/docs/segmented-control.json +429 -0
  203. package/docs/segmented-control.md +240 -0
  204. package/docs/select.examples.md +1214 -0
  205. package/docs/select.json +1147 -0
  206. package/docs/select.md +199 -0
  207. package/docs/side-navigation.json +632 -0
  208. package/docs/side-navigation.md +430 -0
  209. package/docs/skeleton.json +358 -0
  210. package/docs/skeleton.md +223 -0
  211. package/docs/slider.json +522 -0
  212. package/docs/slider.md +261 -0
  213. package/docs/sparkline.json +426 -0
  214. package/docs/sparkline.md +206 -0
  215. package/docs/split-button.json +361 -0
  216. package/docs/split-button.md +275 -0
  217. package/docs/splitter.json +142 -0
  218. package/docs/splitter.md +14 -0
  219. package/docs/stack.json +135 -0
  220. package/docs/stack.md +74 -0
  221. package/docs/stat-card.json +529 -0
  222. package/docs/stat-card.md +270 -0
  223. package/docs/status-indicator.json +314 -0
  224. package/docs/status-indicator.md +197 -0
  225. package/docs/stepper.json +451 -0
  226. package/docs/stepper.md +250 -0
  227. package/docs/switch.json +451 -0
  228. package/docs/switch.md +508 -0
  229. package/docs/table-of-contents.json +553 -0
  230. package/docs/table-of-contents.md +289 -0
  231. package/docs/table.examples.md +1981 -0
  232. package/docs/table.json +1059 -0
  233. package/docs/table.md +290 -0
  234. package/docs/tabs.examples.md +1370 -0
  235. package/docs/tabs.json +661 -0
  236. package/docs/tabs.md +211 -0
  237. package/docs/tag.json +813 -0
  238. package/docs/tag.md +241 -0
  239. package/docs/tags-input.json +771 -0
  240. package/docs/tags-input.md +361 -0
  241. package/docs/text-field.examples.md +821 -0
  242. package/docs/text-field.json +604 -0
  243. package/docs/text-field.md +125 -0
  244. package/docs/textarea.examples.md +612 -0
  245. package/docs/textarea.json +440 -0
  246. package/docs/textarea.md +98 -0
  247. package/docs/time-field.json +584 -0
  248. package/docs/time-field.md +291 -0
  249. package/docs/time-picker.json +679 -0
  250. package/docs/time-picker.md +315 -0
  251. package/docs/time-range-picker.examples.md +191 -0
  252. package/docs/time-range-picker.json +924 -0
  253. package/docs/time-range-picker.md +152 -0
  254. package/docs/timeline.json +839 -0
  255. package/docs/timeline.md +401 -0
  256. package/docs/toast.json +642 -0
  257. package/docs/toast.md +311 -0
  258. package/docs/toggle-group.json +417 -0
  259. package/docs/toggle-group.md +255 -0
  260. package/docs/toggle.json +326 -0
  261. package/docs/toggle.md +222 -0
  262. package/docs/toolbar.json +380 -0
  263. package/docs/toolbar.md +240 -0
  264. package/docs/tooltip.examples.md +664 -0
  265. package/docs/tooltip.json +604 -0
  266. package/docs/tooltip.md +146 -0
  267. package/docs/top-navigation.examples.md +287 -0
  268. package/docs/top-navigation.json +648 -0
  269. package/docs/top-navigation.md +138 -0
  270. package/docs/tour.json +759 -0
  271. package/docs/tour.md +337 -0
  272. package/docs/transfer.json +746 -0
  273. package/docs/transfer.md +273 -0
  274. package/docs/tree.json +918 -0
  275. package/docs/tree.md +397 -0
  276. package/docs/typography.json +317 -0
  277. package/docs/typography.md +107 -0
  278. package/docs/upload.examples.md +358 -0
  279. package/docs/upload.json +1103 -0
  280. package/docs/upload.md +166 -0
  281. package/docs/visually-hidden.json +71 -0
  282. package/docs/visually-hidden.md +42 -0
  283. package/docs/wizard.json +724 -0
  284. package/docs/wizard.md +295 -0
  285. package/fesm2022/slotted-angular-accordion.mjs +247 -0
  286. package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
  287. package/fesm2022/slotted-angular-action-bar.mjs +639 -0
  288. package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
  289. package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
  290. package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
  291. package/fesm2022/slotted-angular-alert.mjs +427 -0
  292. package/fesm2022/slotted-angular-alert.mjs.map +1 -0
  293. package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
  294. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
  295. package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
  296. package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
  297. package/fesm2022/slotted-angular-attachment.mjs +595 -0
  298. package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
  299. package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
  300. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
  301. package/fesm2022/slotted-angular-avatar.mjs +330 -0
  302. package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
  303. package/fesm2022/slotted-angular-badge.mjs +255 -0
  304. package/fesm2022/slotted-angular-badge.mjs.map +1 -0
  305. package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
  306. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
  307. package/fesm2022/slotted-angular-button-group.mjs +146 -0
  308. package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
  309. package/fesm2022/slotted-angular-button.mjs +692 -0
  310. package/fesm2022/slotted-angular-button.mjs.map +1 -0
  311. package/fesm2022/slotted-angular-calendar.mjs +916 -0
  312. package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
  313. package/fesm2022/slotted-angular-card.mjs +225 -0
  314. package/fesm2022/slotted-angular-card.mjs.map +1 -0
  315. package/fesm2022/slotted-angular-carousel.mjs +840 -0
  316. package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
  317. package/fesm2022/slotted-angular-cascader.mjs +1839 -0
  318. package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
  319. package/fesm2022/slotted-angular-chart.mjs +974 -0
  320. package/fesm2022/slotted-angular-chart.mjs.map +1 -0
  321. package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
  322. package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
  323. package/fesm2022/slotted-angular-checkbox.mjs +468 -0
  324. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
  325. package/fesm2022/slotted-angular-code-block.mjs +476 -0
  326. package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
  327. package/fesm2022/slotted-angular-collapsible.mjs +479 -0
  328. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
  329. package/fesm2022/slotted-angular-color-picker.mjs +910 -0
  330. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
  331. package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
  332. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
  333. package/fesm2022/slotted-angular-combobox.mjs +1480 -0
  334. package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
  335. package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
  336. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
  337. package/fesm2022/slotted-angular-container.mjs +105 -0
  338. package/fesm2022/slotted-angular-container.mjs.map +1 -0
  339. package/fesm2022/slotted-angular-context-menu.mjs +221 -0
  340. package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
  341. package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
  342. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
  343. package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
  344. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
  345. package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
  346. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
  347. package/fesm2022/slotted-angular-data-list.mjs +1418 -0
  348. package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
  349. package/fesm2022/slotted-angular-date-field.mjs +772 -0
  350. package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
  351. package/fesm2022/slotted-angular-date-picker.mjs +690 -0
  352. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
  353. package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
  354. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
  355. package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
  356. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
  357. package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
  358. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
  359. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
  360. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
  361. package/fesm2022/slotted-angular-description-list.mjs +545 -0
  362. package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
  363. package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
  364. package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
  365. package/fesm2022/slotted-angular-dialog.mjs +980 -0
  366. package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
  367. package/fesm2022/slotted-angular-divider.mjs +76 -0
  368. package/fesm2022/slotted-angular-divider.mjs.map +1 -0
  369. package/fesm2022/slotted-angular-drawer.mjs +1397 -0
  370. package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
  371. package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
  372. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
  373. package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
  374. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
  375. package/fesm2022/slotted-angular-field-group.mjs +301 -0
  376. package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
  377. package/fesm2022/slotted-angular-field.mjs +928 -0
  378. package/fesm2022/slotted-angular-field.mjs.map +1 -0
  379. package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
  380. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
  381. package/fesm2022/slotted-angular-form.mjs +592 -0
  382. package/fesm2022/slotted-angular-form.mjs.map +1 -0
  383. package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
  384. package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
  385. package/fesm2022/slotted-angular-grid.mjs +58 -0
  386. package/fesm2022/slotted-angular-grid.mjs.map +1 -0
  387. package/fesm2022/slotted-angular-highlight.mjs +123 -0
  388. package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
  389. package/fesm2022/slotted-angular-hover-card.mjs +326 -0
  390. package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
  391. package/fesm2022/slotted-angular-i18n.mjs +75 -0
  392. package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
  393. package/fesm2022/slotted-angular-icon.mjs +232 -0
  394. package/fesm2022/slotted-angular-icon.mjs.map +1 -0
  395. package/fesm2022/slotted-angular-image.mjs +442 -0
  396. package/fesm2022/slotted-angular-image.mjs.map +1 -0
  397. package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
  398. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
  399. package/fesm2022/slotted-angular-inline-message.mjs +280 -0
  400. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
  401. package/fesm2022/slotted-angular-inline.mjs +52 -0
  402. package/fesm2022/slotted-angular-inline.mjs.map +1 -0
  403. package/fesm2022/slotted-angular-kbd.mjs +284 -0
  404. package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
  405. package/fesm2022/slotted-angular-link.mjs +182 -0
  406. package/fesm2022/slotted-angular-link.mjs.map +1 -0
  407. package/fesm2022/slotted-angular-list-item.mjs +367 -0
  408. package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
  409. package/fesm2022/slotted-angular-list.mjs +256 -0
  410. package/fesm2022/slotted-angular-list.mjs.map +1 -0
  411. package/fesm2022/slotted-angular-listbox.mjs +1274 -0
  412. package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
  413. package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
  414. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
  415. package/fesm2022/slotted-angular-markdown.mjs +914 -0
  416. package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
  417. package/fesm2022/slotted-angular-menu.mjs +1211 -0
  418. package/fesm2022/slotted-angular-menu.mjs.map +1 -0
  419. package/fesm2022/slotted-angular-menubar.mjs +230 -0
  420. package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
  421. package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
  422. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
  423. package/fesm2022/slotted-angular-message.mjs +866 -0
  424. package/fesm2022/slotted-angular-message.mjs.map +1 -0
  425. package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
  426. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
  427. package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
  428. package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
  429. package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
  430. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
  431. package/fesm2022/slotted-angular-number-field.mjs +966 -0
  432. package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
  433. package/fesm2022/slotted-angular-otp-input.mjs +629 -0
  434. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
  435. package/fesm2022/slotted-angular-page-header.mjs +788 -0
  436. package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
  437. package/fesm2022/slotted-angular-page.mjs +255 -0
  438. package/fesm2022/slotted-angular-page.mjs.map +1 -0
  439. package/fesm2022/slotted-angular-pagination.mjs +562 -0
  440. package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
  441. package/fesm2022/slotted-angular-popover.mjs +799 -0
  442. package/fesm2022/slotted-angular-popover.mjs.map +1 -0
  443. package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
  444. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
  445. package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
  446. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
  447. package/fesm2022/slotted-angular-prose.mjs +314 -0
  448. package/fesm2022/slotted-angular-prose.mjs.map +1 -0
  449. package/fesm2022/slotted-angular-radio-group.mjs +469 -0
  450. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
  451. package/fesm2022/slotted-angular-rating.mjs +1174 -0
  452. package/fesm2022/slotted-angular-rating.mjs.map +1 -0
  453. package/fesm2022/slotted-angular-result-state.mjs +330 -0
  454. package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
  455. package/fesm2022/slotted-angular-saved-views.mjs +877 -0
  456. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
  457. package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
  458. package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
  459. package/fesm2022/slotted-angular-section.mjs +266 -0
  460. package/fesm2022/slotted-angular-section.mjs.map +1 -0
  461. package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
  462. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
  463. package/fesm2022/slotted-angular-select.mjs +1899 -0
  464. package/fesm2022/slotted-angular-select.mjs.map +1 -0
  465. package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
  466. package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
  467. package/fesm2022/slotted-angular-skeleton.mjs +316 -0
  468. package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
  469. package/fesm2022/slotted-angular-slider.mjs +586 -0
  470. package/fesm2022/slotted-angular-slider.mjs.map +1 -0
  471. package/fesm2022/slotted-angular-sparkline.mjs +235 -0
  472. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
  473. package/fesm2022/slotted-angular-split-button.mjs +331 -0
  474. package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
  475. package/fesm2022/slotted-angular-splitter.mjs +516 -0
  476. package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
  477. package/fesm2022/slotted-angular-stack.mjs +48 -0
  478. package/fesm2022/slotted-angular-stack.mjs.map +1 -0
  479. package/fesm2022/slotted-angular-stat-card.mjs +478 -0
  480. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
  481. package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
  482. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
  483. package/fesm2022/slotted-angular-stepper.mjs +536 -0
  484. package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
  485. package/fesm2022/slotted-angular-switch.mjs +447 -0
  486. package/fesm2022/slotted-angular-switch.mjs.map +1 -0
  487. package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
  488. package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
  489. package/fesm2022/slotted-angular-table.mjs +2518 -0
  490. package/fesm2022/slotted-angular-table.mjs.map +1 -0
  491. package/fesm2022/slotted-angular-tabs.mjs +829 -0
  492. package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
  493. package/fesm2022/slotted-angular-tag.mjs +595 -0
  494. package/fesm2022/slotted-angular-tag.mjs.map +1 -0
  495. package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
  496. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
  497. package/fesm2022/slotted-angular-text-field.mjs +674 -0
  498. package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
  499. package/fesm2022/slotted-angular-textarea.mjs +275 -0
  500. package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
  501. package/fesm2022/slotted-angular-theme.mjs +45 -0
  502. package/fesm2022/slotted-angular-theme.mjs.map +1 -0
  503. package/fesm2022/slotted-angular-time-field.mjs +895 -0
  504. package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
  505. package/fesm2022/slotted-angular-time-picker.mjs +856 -0
  506. package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
  507. package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
  508. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
  509. package/fesm2022/slotted-angular-timeline.mjs +928 -0
  510. package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
  511. package/fesm2022/slotted-angular-toast.mjs +917 -0
  512. package/fesm2022/slotted-angular-toast.mjs.map +1 -0
  513. package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
  514. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
  515. package/fesm2022/slotted-angular-toggle.mjs +162 -0
  516. package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
  517. package/fesm2022/slotted-angular-toolbar.mjs +536 -0
  518. package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
  519. package/fesm2022/slotted-angular-tooltip.mjs +798 -0
  520. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
  521. package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
  522. package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
  523. package/fesm2022/slotted-angular-tour.mjs +1330 -0
  524. package/fesm2022/slotted-angular-tour.mjs.map +1 -0
  525. package/fesm2022/slotted-angular-transfer.mjs +1406 -0
  526. package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
  527. package/fesm2022/slotted-angular-tree.mjs +1448 -0
  528. package/fesm2022/slotted-angular-tree.mjs.map +1 -0
  529. package/fesm2022/slotted-angular-typography.mjs +184 -0
  530. package/fesm2022/slotted-angular-typography.mjs.map +1 -0
  531. package/fesm2022/slotted-angular-upload.mjs +1523 -0
  532. package/fesm2022/slotted-angular-upload.mjs.map +1 -0
  533. package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
  534. package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
  535. package/fesm2022/slotted-angular-wizard.mjs +1715 -0
  536. package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
  537. package/fesm2022/slotted-angular.mjs +4 -0
  538. package/fesm2022/slotted-angular.mjs.map +1 -0
  539. package/package.json +537 -3
  540. package/types/slotted-angular-accordion.d.ts +156 -0
  541. package/types/slotted-angular-accordion.d.ts.map +1 -0
  542. package/types/slotted-angular-action-bar.d.ts +291 -0
  543. package/types/slotted-angular-action-bar.d.ts.map +1 -0
  544. package/types/slotted-angular-action-sheet.d.ts +294 -0
  545. package/types/slotted-angular-action-sheet.d.ts.map +1 -0
  546. package/types/slotted-angular-alert.d.ts +214 -0
  547. package/types/slotted-angular-alert.d.ts.map +1 -0
  548. package/types/slotted-angular-app-shell.d.ts +549 -0
  549. package/types/slotted-angular-app-shell.d.ts.map +1 -0
  550. package/types/slotted-angular-aspect-ratio.d.ts +57 -0
  551. package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
  552. package/types/slotted-angular-attachment.d.ts +294 -0
  553. package/types/slotted-angular-attachment.d.ts.map +1 -0
  554. package/types/slotted-angular-avatar-group.d.ts +119 -0
  555. package/types/slotted-angular-avatar-group.d.ts.map +1 -0
  556. package/types/slotted-angular-avatar.d.ts +202 -0
  557. package/types/slotted-angular-avatar.d.ts.map +1 -0
  558. package/types/slotted-angular-badge.d.ts +166 -0
  559. package/types/slotted-angular-badge.d.ts.map +1 -0
  560. package/types/slotted-angular-breadcrumb.d.ts +251 -0
  561. package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
  562. package/types/slotted-angular-button-group.d.ts +89 -0
  563. package/types/slotted-angular-button-group.d.ts.map +1 -0
  564. package/types/slotted-angular-button.d.ts +390 -0
  565. package/types/slotted-angular-button.d.ts.map +1 -0
  566. package/types/slotted-angular-calendar.d.ts +280 -0
  567. package/types/slotted-angular-calendar.d.ts.map +1 -0
  568. package/types/slotted-angular-card.d.ts +140 -0
  569. package/types/slotted-angular-card.d.ts.map +1 -0
  570. package/types/slotted-angular-carousel.d.ts +288 -0
  571. package/types/slotted-angular-carousel.d.ts.map +1 -0
  572. package/types/slotted-angular-cascader.d.ts +351 -0
  573. package/types/slotted-angular-cascader.d.ts.map +1 -0
  574. package/types/slotted-angular-chart.d.ts +319 -0
  575. package/types/slotted-angular-chart.d.ts.map +1 -0
  576. package/types/slotted-angular-checkbox-group.d.ts +156 -0
  577. package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
  578. package/types/slotted-angular-checkbox.d.ts +197 -0
  579. package/types/slotted-angular-checkbox.d.ts.map +1 -0
  580. package/types/slotted-angular-code-block.d.ts +158 -0
  581. package/types/slotted-angular-code-block.d.ts.map +1 -0
  582. package/types/slotted-angular-collapsible.d.ts +272 -0
  583. package/types/slotted-angular-collapsible.d.ts.map +1 -0
  584. package/types/slotted-angular-color-picker.d.ts +181 -0
  585. package/types/slotted-angular-color-picker.d.ts.map +1 -0
  586. package/types/slotted-angular-column-manager.d.ts +200 -0
  587. package/types/slotted-angular-column-manager.d.ts.map +1 -0
  588. package/types/slotted-angular-combobox.d.ts +449 -0
  589. package/types/slotted-angular-combobox.d.ts.map +1 -0
  590. package/types/slotted-angular-command-palette.d.ts +256 -0
  591. package/types/slotted-angular-command-palette.d.ts.map +1 -0
  592. package/types/slotted-angular-container.d.ts +84 -0
  593. package/types/slotted-angular-container.d.ts.map +1 -0
  594. package/types/slotted-angular-context-menu.d.ts +84 -0
  595. package/types/slotted-angular-context-menu.d.ts.map +1 -0
  596. package/types/slotted-angular-currency-field.d.ts +480 -0
  597. package/types/slotted-angular-currency-field.d.ts.map +1 -0
  598. package/types/slotted-angular-dashboard-grid.d.ts +341 -0
  599. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
  600. package/types/slotted-angular-data-grid.d.ts +1077 -0
  601. package/types/slotted-angular-data-grid.d.ts.map +1 -0
  602. package/types/slotted-angular-data-list.d.ts +272 -0
  603. package/types/slotted-angular-data-list.d.ts.map +1 -0
  604. package/types/slotted-angular-date-field.d.ts +320 -0
  605. package/types/slotted-angular-date-field.d.ts.map +1 -0
  606. package/types/slotted-angular-date-picker.d.ts +224 -0
  607. package/types/slotted-angular-date-picker.d.ts.map +1 -0
  608. package/types/slotted-angular-date-range-picker.d.ts +310 -0
  609. package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
  610. package/types/slotted-angular-datetime-field.d.ts +362 -0
  611. package/types/slotted-angular-datetime-field.d.ts.map +1 -0
  612. package/types/slotted-angular-datetime-picker.d.ts +370 -0
  613. package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
  614. package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
  615. package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
  616. package/types/slotted-angular-description-list.d.ts +281 -0
  617. package/types/slotted-angular-description-list.d.ts.map +1 -0
  618. package/types/slotted-angular-detail-panel.d.ts +240 -0
  619. package/types/slotted-angular-detail-panel.d.ts.map +1 -0
  620. package/types/slotted-angular-dialog.d.ts +497 -0
  621. package/types/slotted-angular-dialog.d.ts.map +1 -0
  622. package/types/slotted-angular-divider.d.ts +40 -0
  623. package/types/slotted-angular-divider.d.ts.map +1 -0
  624. package/types/slotted-angular-drawer.d.ts +532 -0
  625. package/types/slotted-angular-drawer.d.ts.map +1 -0
  626. package/types/slotted-angular-entity-picker.d.ts +338 -0
  627. package/types/slotted-angular-entity-picker.d.ts.map +1 -0
  628. package/types/slotted-angular-event-calendar.d.ts +574 -0
  629. package/types/slotted-angular-event-calendar.d.ts.map +1 -0
  630. package/types/slotted-angular-field-group.d.ts +152 -0
  631. package/types/slotted-angular-field-group.d.ts.map +1 -0
  632. package/types/slotted-angular-field.d.ts +535 -0
  633. package/types/slotted-angular-field.d.ts.map +1 -0
  634. package/types/slotted-angular-filter-bar.d.ts +573 -0
  635. package/types/slotted-angular-filter-bar.d.ts.map +1 -0
  636. package/types/slotted-angular-form.d.ts +298 -0
  637. package/types/slotted-angular-form.d.ts.map +1 -0
  638. package/types/slotted-angular-fullscreen.d.ts +145 -0
  639. package/types/slotted-angular-fullscreen.d.ts.map +1 -0
  640. package/types/slotted-angular-grid.d.ts +50 -0
  641. package/types/slotted-angular-grid.d.ts.map +1 -0
  642. package/types/slotted-angular-highlight.d.ts +93 -0
  643. package/types/slotted-angular-highlight.d.ts.map +1 -0
  644. package/types/slotted-angular-hover-card.d.ts +140 -0
  645. package/types/slotted-angular-hover-card.d.ts.map +1 -0
  646. package/types/slotted-angular-i18n.d.ts +46 -0
  647. package/types/slotted-angular-i18n.d.ts.map +1 -0
  648. package/types/slotted-angular-icon.d.ts +94 -0
  649. package/types/slotted-angular-icon.d.ts.map +1 -0
  650. package/types/slotted-angular-image.d.ts +251 -0
  651. package/types/slotted-angular-image.d.ts.map +1 -0
  652. package/types/slotted-angular-import-export-center.d.ts +351 -0
  653. package/types/slotted-angular-import-export-center.d.ts.map +1 -0
  654. package/types/slotted-angular-inline-message.d.ts +195 -0
  655. package/types/slotted-angular-inline-message.d.ts.map +1 -0
  656. package/types/slotted-angular-inline.d.ts +41 -0
  657. package/types/slotted-angular-inline.d.ts.map +1 -0
  658. package/types/slotted-angular-kbd.d.ts +174 -0
  659. package/types/slotted-angular-kbd.d.ts.map +1 -0
  660. package/types/slotted-angular-link.d.ts +94 -0
  661. package/types/slotted-angular-link.d.ts.map +1 -0
  662. package/types/slotted-angular-list-item.d.ts +210 -0
  663. package/types/slotted-angular-list-item.d.ts.map +1 -0
  664. package/types/slotted-angular-list.d.ts +176 -0
  665. package/types/slotted-angular-list.d.ts.map +1 -0
  666. package/types/slotted-angular-listbox.d.ts +470 -0
  667. package/types/slotted-angular-listbox.d.ts.map +1 -0
  668. package/types/slotted-angular-loading-overlay.d.ts +219 -0
  669. package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
  670. package/types/slotted-angular-markdown.d.ts +172 -0
  671. package/types/slotted-angular-markdown.d.ts.map +1 -0
  672. package/types/slotted-angular-menu.d.ts +448 -0
  673. package/types/slotted-angular-menu.d.ts.map +1 -0
  674. package/types/slotted-angular-menubar.d.ts +90 -0
  675. package/types/slotted-angular-menubar.d.ts.map +1 -0
  676. package/types/slotted-angular-message-scroller.d.ts +151 -0
  677. package/types/slotted-angular-message-scroller.d.ts.map +1 -0
  678. package/types/slotted-angular-message.d.ts +348 -0
  679. package/types/slotted-angular-message.d.ts.map +1 -0
  680. package/types/slotted-angular-multi-select.d.ts +462 -0
  681. package/types/slotted-angular-multi-select.d.ts.map +1 -0
  682. package/types/slotted-angular-navigation-menu.d.ts +309 -0
  683. package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
  684. package/types/slotted-angular-notification-center.d.ts +318 -0
  685. package/types/slotted-angular-notification-center.d.ts.map +1 -0
  686. package/types/slotted-angular-number-field.d.ts +402 -0
  687. package/types/slotted-angular-number-field.d.ts.map +1 -0
  688. package/types/slotted-angular-otp-input.d.ts +286 -0
  689. package/types/slotted-angular-otp-input.d.ts.map +1 -0
  690. package/types/slotted-angular-page-header.d.ts +334 -0
  691. package/types/slotted-angular-page-header.d.ts.map +1 -0
  692. package/types/slotted-angular-page.d.ts +141 -0
  693. package/types/slotted-angular-page.d.ts.map +1 -0
  694. package/types/slotted-angular-pagination.d.ts +213 -0
  695. package/types/slotted-angular-pagination.d.ts.map +1 -0
  696. package/types/slotted-angular-popover.d.ts +366 -0
  697. package/types/slotted-angular-popover.d.ts.map +1 -0
  698. package/types/slotted-angular-progress-indicator.d.ts +312 -0
  699. package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
  700. package/types/slotted-angular-prompt-composer.d.ts +242 -0
  701. package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
  702. package/types/slotted-angular-prose.d.ts +171 -0
  703. package/types/slotted-angular-prose.d.ts.map +1 -0
  704. package/types/slotted-angular-radio-group.d.ts +268 -0
  705. package/types/slotted-angular-radio-group.d.ts.map +1 -0
  706. package/types/slotted-angular-rating.d.ts +374 -0
  707. package/types/slotted-angular-rating.d.ts.map +1 -0
  708. package/types/slotted-angular-result-state.d.ts +217 -0
  709. package/types/slotted-angular-result-state.d.ts.map +1 -0
  710. package/types/slotted-angular-saved-views.d.ts +198 -0
  711. package/types/slotted-angular-saved-views.d.ts.map +1 -0
  712. package/types/slotted-angular-scroll-area.d.ts +186 -0
  713. package/types/slotted-angular-scroll-area.d.ts.map +1 -0
  714. package/types/slotted-angular-section.d.ts +143 -0
  715. package/types/slotted-angular-section.d.ts.map +1 -0
  716. package/types/slotted-angular-segmented-control.d.ts +251 -0
  717. package/types/slotted-angular-segmented-control.d.ts.map +1 -0
  718. package/types/slotted-angular-select.d.ts +507 -0
  719. package/types/slotted-angular-select.d.ts.map +1 -0
  720. package/types/slotted-angular-side-navigation.d.ts +373 -0
  721. package/types/slotted-angular-side-navigation.d.ts.map +1 -0
  722. package/types/slotted-angular-skeleton.d.ts +198 -0
  723. package/types/slotted-angular-skeleton.d.ts.map +1 -0
  724. package/types/slotted-angular-slider.d.ts +216 -0
  725. package/types/slotted-angular-slider.d.ts.map +1 -0
  726. package/types/slotted-angular-sparkline.d.ts +106 -0
  727. package/types/slotted-angular-sparkline.d.ts.map +1 -0
  728. package/types/slotted-angular-split-button.d.ts +180 -0
  729. package/types/slotted-angular-split-button.d.ts.map +1 -0
  730. package/types/slotted-angular-splitter.d.ts +206 -0
  731. package/types/slotted-angular-splitter.d.ts.map +1 -0
  732. package/types/slotted-angular-stack.d.ts +38 -0
  733. package/types/slotted-angular-stack.d.ts.map +1 -0
  734. package/types/slotted-angular-stat-card.d.ts +232 -0
  735. package/types/slotted-angular-stat-card.d.ts.map +1 -0
  736. package/types/slotted-angular-status-indicator.d.ts +106 -0
  737. package/types/slotted-angular-status-indicator.d.ts.map +1 -0
  738. package/types/slotted-angular-stepper.d.ts +198 -0
  739. package/types/slotted-angular-stepper.d.ts.map +1 -0
  740. package/types/slotted-angular-switch.d.ts +243 -0
  741. package/types/slotted-angular-switch.d.ts.map +1 -0
  742. package/types/slotted-angular-table-of-contents.d.ts +210 -0
  743. package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
  744. package/types/slotted-angular-table.d.ts +888 -0
  745. package/types/slotted-angular-table.d.ts.map +1 -0
  746. package/types/slotted-angular-tabs.d.ts +340 -0
  747. package/types/slotted-angular-tabs.d.ts.map +1 -0
  748. package/types/slotted-angular-tag.d.ts +279 -0
  749. package/types/slotted-angular-tag.d.ts.map +1 -0
  750. package/types/slotted-angular-tags-input.d.ts +302 -0
  751. package/types/slotted-angular-tags-input.d.ts.map +1 -0
  752. package/types/slotted-angular-text-field.d.ts +334 -0
  753. package/types/slotted-angular-text-field.d.ts.map +1 -0
  754. package/types/slotted-angular-textarea.d.ts +150 -0
  755. package/types/slotted-angular-textarea.d.ts.map +1 -0
  756. package/types/slotted-angular-theme.d.ts +26 -0
  757. package/types/slotted-angular-theme.d.ts.map +1 -0
  758. package/types/slotted-angular-time-field.d.ts +300 -0
  759. package/types/slotted-angular-time-field.d.ts.map +1 -0
  760. package/types/slotted-angular-time-picker.d.ts +260 -0
  761. package/types/slotted-angular-time-picker.d.ts.map +1 -0
  762. package/types/slotted-angular-time-range-picker.d.ts +401 -0
  763. package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
  764. package/types/slotted-angular-timeline.d.ts +329 -0
  765. package/types/slotted-angular-timeline.d.ts.map +1 -0
  766. package/types/slotted-angular-toast.d.ts +340 -0
  767. package/types/slotted-angular-toast.d.ts.map +1 -0
  768. package/types/slotted-angular-toggle-group.d.ts +167 -0
  769. package/types/slotted-angular-toggle-group.d.ts.map +1 -0
  770. package/types/slotted-angular-toggle.d.ts +106 -0
  771. package/types/slotted-angular-toggle.d.ts.map +1 -0
  772. package/types/slotted-angular-toolbar.d.ts +252 -0
  773. package/types/slotted-angular-toolbar.d.ts.map +1 -0
  774. package/types/slotted-angular-tooltip.d.ts +388 -0
  775. package/types/slotted-angular-tooltip.d.ts.map +1 -0
  776. package/types/slotted-angular-top-navigation.d.ts +442 -0
  777. package/types/slotted-angular-top-navigation.d.ts.map +1 -0
  778. package/types/slotted-angular-tour.d.ts +440 -0
  779. package/types/slotted-angular-tour.d.ts.map +1 -0
  780. package/types/slotted-angular-transfer.d.ts +296 -0
  781. package/types/slotted-angular-transfer.d.ts.map +1 -0
  782. package/types/slotted-angular-tree.d.ts +499 -0
  783. package/types/slotted-angular-tree.d.ts.map +1 -0
  784. package/types/slotted-angular-typography.d.ts +89 -0
  785. package/types/slotted-angular-typography.d.ts.map +1 -0
  786. package/types/slotted-angular-upload.d.ts +365 -0
  787. package/types/slotted-angular-upload.d.ts.map +1 -0
  788. package/types/slotted-angular-visually-hidden.d.ts +19 -0
  789. package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
  790. package/types/slotted-angular-wizard.d.ts +441 -0
  791. package/types/slotted-angular-wizard.d.ts.map +1 -0
  792. package/types/slotted-angular.d.ts +3 -0
  793. package/types/slotted-angular.d.ts.map +1 -0
@@ -0,0 +1,895 @@
1
+ import { plainDate, EMPTY_SEGMENTS, createTimeFormat, timeOf, toISOTime, parseDuration, resolveRelative, isTimeInRange, isSameTime, segmentsOfTime, nowIn, isRelativeKey, clearSegment, boundSegment, stepSegment, typeDayPeriod, typeDigit, commitTyping, fieldRange } from '@slotted/core/date';
2
+ import { timeFieldMessages } from '@slotted/core/i18n';
3
+ import { createControllable } from '@slotted/core/state';
4
+ import * as i0 from '@angular/core';
5
+ import { InjectionToken, inject, input, booleanAttribute, output, ElementRef, HostAttributeToken, signal, computed, effect, forwardRef, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
6
+ import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
7
+ import { injectLocale, injectMessages } from '@slotted/angular/i18n';
8
+ import { SlGlyph, SlIcon } from '@slotted/angular/icon';
9
+ import { SlField } from '@slotted/angular/field';
10
+
11
+ const FALLBACK = {
12
+ granularity: 'minute',
13
+ hourCycle: undefined,
14
+ relative: true,
15
+ size: 'md',
16
+ timeZone: undefined,
17
+ variant: 'outline',
18
+ };
19
+ const TIME_FIELD_DEFAULTS = new InjectionToken('slotted time field defaults', { providedIn: 'root', factory: () => FALLBACK });
20
+ /**
21
+ * An application decides once what its times look like, which clock they run
22
+ * on and which zone answers "now", rather than repeating the same inputs on
23
+ * every control in a form. A control that states any of them itself still
24
+ * wins. The locale that writes the times, and the words, come from the
25
+ * language in force (`provideSlotted`).
26
+ */
27
+ function provideTimeFieldDefaults(defaults) {
28
+ return {
29
+ provide: TIME_FIELD_DEFAULTS,
30
+ useFactory: () => ({ ...FALLBACK, ...defaults }),
31
+ };
32
+ }
33
+ /** What a time field renders as here, before it states anything of its own. */
34
+ function injectTimeFieldDefaults() {
35
+ return inject(TIME_FIELD_DEFAULTS);
36
+ }
37
+
38
+ /**
39
+ * How far `PageUp` and `PageDown` move each field.
40
+ *
41
+ * The APG spin-button example pages every button by five. Fifteen minutes is
42
+ * the page a reader of a time field means and the step a quarter-hour panel
43
+ * offers, so the two agree; three hours is a quarter of a twelve-hour cycle.
44
+ */
45
+ const PAGE_STEP = {
46
+ hour: 3,
47
+ minute: 15,
48
+ second: 15,
49
+ dayPeriod: 1,
50
+ };
51
+ /**
52
+ * The date half of the reference, which a time field never draws and the engine
53
+ * still asks for. One `SegmentState` holds both halves — that is what
54
+ * `datetime-field` needs — so the reference carries both as well.
55
+ */
56
+ const REFERENCE_DATE = plainDate(2000, 1, 1);
57
+ /**
58
+ * The hidden element carrying the whole time needs an identifier the group can
59
+ * point `aria-labelledby` at, and Angular has no `useId`. A module counter is
60
+ * what the framework leaves: stable for a given render order, which is what
61
+ * hydration needs, and never on the public surface.
62
+ */
63
+ let sequence = 0;
64
+ /**
65
+ * A segmented time control: one spin button per field, in the order the locale
66
+ * writes them.
67
+ *
68
+ * **The frame is not the control.** The element carrying `data-ui` is the
69
+ * consumer's own box with no role; `role="group"` is on the row of segments,
70
+ * which is what the APG's spin-button example names.
71
+ *
72
+ * **Angular is a component with a template and a `ControlValueAccessor`**,
73
+ * because a time belongs in a Reactive Form and Angular has the integration
74
+ * point for it. It also implements `Validator`: `min`, `max` and
75
+ * `isTimeUnavailable` are validity this control owns and no other validator can
76
+ * see. React has no equivalent, and `references/frameworks.md` asks for that
77
+ * asymmetry to be recorded rather than levelled away.
78
+ *
79
+ * **A time can be written as a duration.** `+`, `-` and `=` open one expression
80
+ * region in place of the segments, and what it resolves to is drawn beside it
81
+ * before `Enter` commits anything.
82
+ */
83
+ class SlTimeField {
84
+ /** Present means the consumer owns the value. */
85
+ value = input(undefined, /* @ts-ignore */
86
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
87
+ /** The value the control starts from when nobody else writes one. */
88
+ defaultValue = input(undefined, /* @ts-ignore */
89
+ ...(ngDevMode ? [{ debugName: "defaultValue" }] : /* istanbul ignore next */ []));
90
+ /** The earliest time the control accepts. Also a form validity rule. */
91
+ min = input(undefined, /* @ts-ignore */
92
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
93
+ /** The latest time the control accepts. Also a form validity rule. */
94
+ max = input(undefined, /* @ts-ignore */
95
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
96
+ /** Refuses particular times — a lunch break, a booked slot, a closed shop. */
97
+ isTimeUnavailable = input(undefined, /* @ts-ignore */
98
+ ...(ngDevMode ? [{ debugName: "isTimeUnavailable" }] : /* istanbul ignore next */ []));
99
+ /**
100
+ * BCP 47. Decides the field order, the separators and the placeholder.
101
+ * Unset, the language in force (`provideSlotted`) decides.
102
+ */
103
+ locale = input(undefined, /* @ts-ignore */
104
+ ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
105
+ /** Which zone answers "what time is it now", and nothing else. */
106
+ timeZone = input(undefined, /* @ts-ignore */
107
+ ...(ngDevMode ? [{ debugName: "timeZone" }] : /* istanbul ignore next */ []));
108
+ hourCycle = input(undefined, /* @ts-ignore */
109
+ ...(ngDevMode ? [{ debugName: "hourCycle" }] : /* istanbul ignore next */ []));
110
+ granularity = input(undefined, /* @ts-ignore */
111
+ ...(ngDevMode ? [{ debugName: "granularity" }] : /* istanbul ignore next */ []));
112
+ /**
113
+ * What an empty segment steps from, and what a duration resolves against.
114
+ * Unset, both are the current time in `timeZone`.
115
+ */
116
+ referenceTime = input(undefined, /* @ts-ignore */
117
+ ...(ngDevMode ? [{ debugName: "referenceTime" }] : /* istanbul ignore next */ []));
118
+ size = input(undefined, /* @ts-ignore */
119
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
120
+ variant = input(undefined, /* @ts-ignore */
121
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
122
+ /** Unstated rather than `false`, so the control defers to the field. */
123
+ disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
124
+ readOnly = input(undefined, { ...(ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
125
+ invalid = input(undefined, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
126
+ required = input(undefined, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
127
+ /** Draws a button that empties the value and returns focus to the control. */
128
+ clearable = input(false, { ...(ngDevMode ? { debugName: "clearable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
129
+ /** Whether `+`, `-` and `=` open the duration expression. */
130
+ relative = input(undefined, { ...(ngDevMode ? { debugName: "relative" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
131
+ /**
132
+ * Words laid over the catalog of the language in force, key by key: the
133
+ * clear button, the duration region's name and the next-day preview.
134
+ */
135
+ messages = input(undefined, /* @ts-ignore */
136
+ ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
137
+ /** The name a plain form post carries the `HH:mm:ss` string under. */
138
+ name = input(undefined, /* @ts-ignore */
139
+ ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
140
+ /**
141
+ * One output for one transition, carrying the value, the value it replaces,
142
+ * the segments, whether a duration crossed midnight, the reason, the
143
+ * originating event and `cancel()`. There is no `[(value)]`, because a
144
+ * two-way binding has one slot and can carry none of those.
145
+ */
146
+ /**
147
+ * The accessible name, when it is bound rather than written: a static
148
+ * `aria-label` is read once from the host, and a family naming this field
149
+ * from its own input — `time-range-picker` names its two ends — has no
150
+ * static attribute to write.
151
+ */
152
+ label = input(undefined, /* @ts-ignore */
153
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
154
+ valueChange = output();
155
+ element = inject(ElementRef).nativeElement;
156
+ defaults = injectTimeFieldDefaults();
157
+ appLocale = injectLocale();
158
+ /** The family's words in the language in force, with this field's `messages` laid over them. */
159
+ t = injectMessages(timeFieldMessages, this.messages);
160
+ field = inject(SlField, { optional: true });
161
+ /** Read before the host binding computes, so it never writes over it. */
162
+ writtenLabel = inject(new HostAttributeToken('aria-label'), {
163
+ optional: true,
164
+ });
165
+ writtenId = inject(new HostAttributeToken('id'), { optional: true });
166
+ writtenLabelledBy = inject(new HostAttributeToken('aria-labelledby'), {
167
+ optional: true,
168
+ });
169
+ writtenDescribedBy = inject(new HostAttributeToken('aria-describedby'), {
170
+ optional: true,
171
+ });
172
+ valueTextId = `sl-time-field-${String((sequence += 1))}`;
173
+ segments = signal(EMPTY_SEGMENTS, /* @ts-ignore */
174
+ ...(ngDevMode ? [{ debugName: "segments" }] : /* istanbul ignore next */ []));
175
+ formDisabled = signal(undefined, /* @ts-ignore */
176
+ ...(ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []));
177
+ /**
178
+ * What time it is, resolved after construction rather than during it, so a
179
+ * server and a browser never disagree about the markup. Nothing is drawn from
180
+ * it: it is the time an empty segment steps to and a duration resolves from.
181
+ */
182
+ clock = signal({ hour: 12, minute: 0, second: 0 }, /* @ts-ignore */
183
+ ...(ngDevMode ? [{ debugName: "clock" }] : /* istanbul ignore next */ []));
184
+ activeField = signal(undefined, /* @ts-ignore */
185
+ ...(ngDevMode ? [{ debugName: "activeField" }] : /* istanbul ignore next */ []));
186
+ /** The duration being written, or `null` while the segments are showing. */
187
+ expression = signal(null, /* @ts-ignore */
188
+ ...(ngDevMode ? [{ debugName: "expression" }] : /* istanbul ignore next */ []));
189
+ onChangeFn = () => undefined;
190
+ onTouchedFn = () => undefined;
191
+ onValidatorChangeFn = () => undefined;
192
+ resolvedGranularity = computed(() => this.granularity() ?? this.defaults.granularity, /* @ts-ignore */
193
+ ...(ngDevMode ? [{ debugName: "resolvedGranularity" }] : /* istanbul ignore next */ []));
194
+ format = computed(() => createTimeFormat({
195
+ granularity: this.resolvedGranularity(),
196
+ hourCycle: this.hourCycle() ?? this.defaults.hourCycle,
197
+ locale: this.locale() ?? this.appLocale(),
198
+ }), /* @ts-ignore */
199
+ ...(ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []));
200
+ dataCycle = computed(() => (this.format().usesDayPeriod ? '12' : '24'), /* @ts-ignore */
201
+ ...(ngDevMode ? [{ debugName: "dataCycle" }] : /* istanbul ignore next */ []));
202
+ fields = computed(() => this.format()
203
+ .pattern.filter((part) => part.type !== 'literal')
204
+ .map((part) => part.type), /* @ts-ignore */
205
+ ...(ngDevMode ? [{ debugName: "fields" }] : /* istanbul ignore next */ []));
206
+ /** What an empty segment steps from, in the shape the engine reads. */
207
+ reference = computed(() => {
208
+ const anchor = this.anchor();
209
+ const shown = this.format().toDisplay(anchor.hour);
210
+ return {
211
+ ...REFERENCE_DATE,
212
+ dayPeriod: shown.dayPeriod ?? 0,
213
+ hour: shown.hour,
214
+ hourCycle: this.format().hourCycle,
215
+ minute: anchor.minute,
216
+ second: anchor.second,
217
+ };
218
+ }, /* @ts-ignore */
219
+ ...(ngDevMode ? [{ debugName: "reference" }] : /* istanbul ignore next */ []));
220
+ anchor = computed(() => this.referenceTime() ?? this.clock(), /* @ts-ignore */
221
+ ...(ngDevMode ? [{ debugName: "anchor" }] : /* istanbul ignore next */ []));
222
+ /** The time the segments make, or `null` while any drawn field is unfilled. */
223
+ time = computed(() => timeOf(this.segments(), this.format()), /* @ts-ignore */
224
+ ...(ngDevMode ? [{ debugName: "time" }] : /* istanbul ignore next */ []));
225
+ iso = computed(() => {
226
+ const time = this.time();
227
+ return time === null ? '' : toISOTime(time);
228
+ }, /* @ts-ignore */
229
+ ...(ngDevMode ? [{ debugName: "iso" }] : /* istanbul ignore next */ []));
230
+ spokenTime = computed(() => {
231
+ const time = this.time();
232
+ return time === null ? '' : this.format().describe(time);
233
+ }, /* @ts-ignore */
234
+ ...(ngDevMode ? [{ debugName: "spokenTime" }] : /* istanbul ignore next */ []));
235
+ /* ── The duration expression ─────────────────────────────────────────── */
236
+ resolved = computed(() => {
237
+ const written = this.expression();
238
+ if (written === null)
239
+ return null;
240
+ const seconds = parseDuration(written);
241
+ return seconds === null ? null : resolveRelative(this.anchor(), seconds);
242
+ }, /* @ts-ignore */
243
+ ...(ngDevMode ? [{ debugName: "resolved" }] : /* istanbul ignore next */ []));
244
+ crossesMidnight = computed(() => (this.resolved()?.days ?? 0) !== 0, /* @ts-ignore */
245
+ ...(ngDevMode ? [{ debugName: "crossesMidnight" }] : /* istanbul ignore next */ []));
246
+ previewText = computed(() => {
247
+ const step = this.resolved();
248
+ if (step === null)
249
+ return '';
250
+ const written = this.format().format(step.time);
251
+ return step.days === 0 ? written : this.t('nextDay', { time: written });
252
+ }, /* @ts-ignore */
253
+ ...(ngDevMode ? [{ debugName: "previewText" }] : /* istanbul ignore next */ []));
254
+ /* ── What the field around it decides ────────────────────────────────── */
255
+ resolvedSize = computed(() => this.size() ?? this.field?.resolvedSize() ?? this.defaults.size, /* @ts-ignore */
256
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
257
+ resolvedVariant = computed(() => this.variant() ?? this.defaults.variant, /* @ts-ignore */
258
+ ...(ngDevMode ? [{ debugName: "resolvedVariant" }] : /* istanbul ignore next */ []));
259
+ resolvedDisabled = computed(() => this.disabled() ?? this.formDisabled() ?? this.field?.resolvedDisabled(), /* @ts-ignore */
260
+ ...(ngDevMode ? [{ debugName: "resolvedDisabled" }] : /* istanbul ignore next */ []));
261
+ resolvedReadOnly = computed(() => this.readOnly() ?? this.field?.resolvedReadOnly(), /* @ts-ignore */
262
+ ...(ngDevMode ? [{ debugName: "resolvedReadOnly" }] : /* istanbul ignore next */ []));
263
+ resolvedRequired = computed(() => this.required() ?? this.field?.required(), /* @ts-ignore */
264
+ ...(ngDevMode ? [{ debugName: "resolvedRequired" }] : /* istanbul ignore next */ []));
265
+ /**
266
+ * Validity the family owns, beside the validity the consumer states. A time
267
+ * outside the bounds or refused by the predicate is invalid whatever the
268
+ * field around it says, because this control is the only thing that knows.
269
+ */
270
+ resolvedInvalid = computed(() => {
271
+ const time = this.time();
272
+ if (time !== null && !isTimeInRange(time, this.min(), this.max()))
273
+ return true;
274
+ if (time !== null && this.isTimeUnavailable()?.(time) === true)
275
+ return true;
276
+ return this.invalid() ?? this.field?.invalid();
277
+ }, /* @ts-ignore */
278
+ ...(ngDevMode ? [{ debugName: "resolvedInvalid" }] : /* istanbul ignore next */ []));
279
+ controlId = computed(() => this.writtenId ?? this.field?.ids().control ?? null, /* @ts-ignore */
280
+ ...(ngDevMode ? [{ debugName: "controlId" }] : /* istanbul ignore next */ []));
281
+ labelledBy = computed(() => {
282
+ if (this.label() !== undefined || this.writtenLabel !== null)
283
+ return null;
284
+ const merged = [this.writtenLabelledBy ?? this.field?.ids().label, this.valueTextId].filter(Boolean);
285
+ return merged.length === 0 ? null : merged.join(' ');
286
+ }, /* @ts-ignore */
287
+ ...(ngDevMode ? [{ debugName: "labelledBy" }] : /* istanbul ignore next */ []));
288
+ describedBy = computed(() => {
289
+ const merged = [this.writtenDescribedBy, this.field?.describedBy()].filter(Boolean);
290
+ return merged.length === 0 ? null : merged.join(' ');
291
+ }, /* @ts-ignore */
292
+ ...(ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []));
293
+ ariaInvalid = computed(() => this.resolvedInvalid() === true ? 'true' : null, /* @ts-ignore */
294
+ ...(ngDevMode ? [{ debugName: "ariaInvalid" }] : /* istanbul ignore next */ []));
295
+ ariaRequired = computed(() => this.resolvedRequired() === true ? 'true' : null, /* @ts-ignore */
296
+ ...(ngDevMode ? [{ debugName: "ariaRequired" }] : /* istanbul ignore next */ []));
297
+ ariaReadonly = computed(() => this.resolvedReadOnly() === true ? 'true' : null, /* @ts-ignore */
298
+ ...(ngDevMode ? [{ debugName: "ariaReadonly" }] : /* istanbul ignore next */ []));
299
+ ariaDisabled = computed(() => this.resolvedDisabled() === true ? 'true' : null, /* @ts-ignore */
300
+ ...(ngDevMode ? [{ debugName: "ariaDisabled" }] : /* istanbul ignore next */ []));
301
+ editable = computed(() => this.resolvedDisabled() !== true && this.resolvedReadOnly() !== true, /* @ts-ignore */
302
+ ...(ngDevMode ? [{ debugName: "editable" }] : /* istanbul ignore next */ []));
303
+ showClear = computed(() => {
304
+ if (!this.clearable() || !this.editable() || this.expression() !== null)
305
+ return false;
306
+ const held = this.segments();
307
+ return this.fields().some((name) => held[name] !== null);
308
+ }, /* @ts-ignore */
309
+ ...(ngDevMode ? [{ debugName: "showClear" }] : /* istanbul ignore next */ []));
310
+ constructor() {
311
+ /**
312
+ * A consumer's own value writes the segments, and only when it names a
313
+ * different time: written on every change detection it would throw away a
314
+ * half-typed time on the keystroke that completes a different one.
315
+ */
316
+ effect(() => {
317
+ const next = this.value();
318
+ if (next === undefined)
319
+ return;
320
+ const segments = this.segments();
321
+ /* A run of digits still being typed is not a value the consumer refused:
322
+ with a controlled `null`, the first minute digit after a whole hour
323
+ read as a time the consumer had not written back, and the segments
324
+ were reset under the reader's fingers. Found by `time-range-picker`,
325
+ which binds the field to its work. */
326
+ if (segments.typing !== null)
327
+ return;
328
+ if (isSameTime(timeOf(segments, this.format()), next))
329
+ return;
330
+ this.segments.set(segmentsOfTime(next, this.format()));
331
+ });
332
+ /* The expression region is focused the moment it replaces the segments,
333
+ with the caret after the character that opened it. */
334
+ effect(() => {
335
+ if (this.expression() === null)
336
+ return;
337
+ queueMicrotask(() => {
338
+ const input = this.element.querySelector('[data-part="duration"]');
339
+ if (input === null)
340
+ return;
341
+ input.focus();
342
+ input.setSelectionRange(input.value.length, input.value.length);
343
+ });
344
+ });
345
+ }
346
+ ngOnInit() {
347
+ this.segments.set(segmentsOfTime(this.value() ?? this.defaultValue() ?? null, this.format()));
348
+ this.clock.set(nowIn(this.timeZone() ?? this.defaults.timeZone));
349
+ }
350
+ /* ── The value ───────────────────────────────────────────────────────── */
351
+ writeValue(value) {
352
+ this.segments.set(segmentsOfTime(value ?? null, this.format()));
353
+ }
354
+ registerOnChange(fn) {
355
+ this.onChangeFn = fn;
356
+ }
357
+ registerOnTouched(fn) {
358
+ this.onTouchedFn = fn;
359
+ }
360
+ setDisabledState(isDisabled) {
361
+ this.formDisabled.set(isDisabled);
362
+ }
363
+ registerOnValidatorChange(fn) {
364
+ this.onValidatorChangeFn = fn;
365
+ }
366
+ /**
367
+ * The rules no other validator can see. `required` is left to Angular's own,
368
+ * because a form already has a word for it and two would disagree.
369
+ */
370
+ validate(control) {
371
+ const time = control.value;
372
+ if (time === null || time === undefined)
373
+ return null;
374
+ const min = this.min();
375
+ const max = this.max();
376
+ if (!isTimeInRange(time, min, max)) {
377
+ return { slottedTimeRange: { min, max, actual: time } };
378
+ }
379
+ if (this.isTimeUnavailable()?.(time) === true) {
380
+ return { slottedTimeUnavailable: { actual: time } };
381
+ }
382
+ return null;
383
+ }
384
+ /** Puts focus on the first segment, which is where typing starts. */
385
+ focus() {
386
+ const first = this.fields()[0];
387
+ if (first !== undefined)
388
+ this.focusField(first);
389
+ }
390
+ /**
391
+ * Where a press on the frame puts the reader: the first field still waiting
392
+ * for a value, and the first field of the time when none is. Every text
393
+ * control on the page answers a press anywhere inside its border.
394
+ */
395
+ focusEntry() {
396
+ const held = this.segments();
397
+ const empty = this.fields().find((name) => held[name] === null);
398
+ const target = empty ?? this.fields()[0];
399
+ if (target !== undefined)
400
+ this.focusField(target);
401
+ }
402
+ onRootMouseDown(event) {
403
+ const target = event.target;
404
+ if (target?.closest('[data-part="segment"], button, a, input, select, textarea') != null) {
405
+ return;
406
+ }
407
+ event.preventDefault();
408
+ if (this.expression() === null)
409
+ this.focusEntry();
410
+ }
411
+ /**
412
+ * Safari does not focus a `div` on a press even when it carries a
413
+ * `tabindex`, so the press says so itself rather than relying on it.
414
+ */
415
+ onSegmentMouseDown(event) {
416
+ event.preventDefault();
417
+ event.currentTarget.focus();
418
+ }
419
+ /** Empties every segment, with the `clear` reason. */
420
+ clear(source) {
421
+ this.commit(EMPTY_SEGMENTS, 'clear', source);
422
+ this.focus();
423
+ }
424
+ /* ── The keyboard ────────────────────────────────────────────────────── */
425
+ /**
426
+ * A key the field acted on is the field's, and nothing above it sees it. A
427
+ * `div` with `role="spinbutton"` is invisible to every "is the target
428
+ * editable" guard an application writes, and `preventDefault` alone does not
429
+ * help: a shortcut handler reads the key, not the default.
430
+ */
431
+ consume(event) {
432
+ event.preventDefault();
433
+ event.stopPropagation();
434
+ }
435
+ /**
436
+ * The keys are handled on the host rather than on each segment, so a
437
+ * consumer's own `(keydown)` on the same element still runs before the family
438
+ * stops the event — which is the composition React gets by calling the
439
+ * consumer's handler first.
440
+ */
441
+ onKeyDown(event) {
442
+ const segment = event.target?.closest('[data-part="segment"]');
443
+ const name = segment?.dataset['field'];
444
+ if (name === undefined)
445
+ return;
446
+ /* An inline direction is a physical pair of keys and a logical order, so
447
+ the arrow that walks forward is the one pointing along the writing
448
+ direction rather than the one pointing right. */
449
+ const rtl = getComputedStyle(this.element).direction === 'rtl';
450
+ const forward = rtl ? 'ArrowLeft' : 'ArrowRight';
451
+ const backward = rtl ? 'ArrowRight' : 'ArrowLeft';
452
+ if (event.key === forward) {
453
+ this.consume(event);
454
+ this.moveBy(name, 1);
455
+ return;
456
+ }
457
+ if (event.key === backward) {
458
+ this.consume(event);
459
+ this.moveBy(name, -1);
460
+ return;
461
+ }
462
+ if (!this.editable())
463
+ return;
464
+ /**
465
+ * `Alt` with an arrow is not this control's chord. `time-picker` opens its
466
+ * panel with `Alt`+`ArrowDown`, and a segment that stepped on it would eat
467
+ * the only shortcut the surface has.
468
+ */
469
+ if (event.altKey)
470
+ return;
471
+ if ((this.relative() ?? this.defaults.relative) && isRelativeKey(event.key)) {
472
+ this.consume(event);
473
+ this.expression.set(event.key);
474
+ return;
475
+ }
476
+ const held = this.segments();
477
+ const reference = this.reference();
478
+ switch (event.key) {
479
+ case 'ArrowUp':
480
+ this.consume(event);
481
+ this.commit(stepSegment(held, name, 1, reference), 'keyboard', event);
482
+ return;
483
+ case 'ArrowDown':
484
+ this.consume(event);
485
+ this.commit(stepSegment(held, name, -1, reference), 'keyboard', event);
486
+ return;
487
+ case 'PageUp':
488
+ this.consume(event);
489
+ this.commit(stepSegment(held, name, PAGE_STEP[name], reference), 'keyboard', event);
490
+ return;
491
+ case 'PageDown':
492
+ this.consume(event);
493
+ this.commit(stepSegment(held, name, -PAGE_STEP[name], reference), 'keyboard', event);
494
+ return;
495
+ case 'Home':
496
+ this.consume(event);
497
+ this.commit(boundSegment(held, name, 'min', reference), 'keyboard', event);
498
+ return;
499
+ case 'End':
500
+ this.consume(event);
501
+ this.commit(boundSegment(held, name, 'max', reference), 'keyboard', event);
502
+ return;
503
+ case 'Backspace':
504
+ case 'Delete':
505
+ this.consume(event);
506
+ this.commit(clearSegment(held, name), 'clear', event);
507
+ return;
508
+ default:
509
+ break;
510
+ }
511
+ /* The day period holds two words rather than digits, and the platform's own
512
+ control takes it by the first letter of either. */
513
+ if (name === 'dayPeriod' && /^\p{L}$/u.test(event.key)) {
514
+ const typed = typeDayPeriod(held, event.key, this.format());
515
+ if (typed === null)
516
+ return;
517
+ this.consume(event);
518
+ this.commit(typed.segments, 'keyboard', event);
519
+ if (typed.advance)
520
+ this.moveBy(name, 1);
521
+ return;
522
+ }
523
+ if (/^\d$/.test(event.key)) {
524
+ this.consume(event);
525
+ const typed = typeDigit(held, name, Number(event.key), this.format(), reference);
526
+ this.commit(typed.segments, 'keyboard', event);
527
+ if (typed.advance)
528
+ this.moveBy(name, 1);
529
+ }
530
+ }
531
+ onExpressionInput(event) {
532
+ this.expression.set(event.target.value);
533
+ }
534
+ onExpressionKeyDown(event) {
535
+ if (event.key === 'Enter') {
536
+ /* An expression inside a form must not submit it: `Enter` is this
537
+ control's commit and nothing above it needs to hear the key. */
538
+ this.consume(event);
539
+ this.commitExpression(event);
540
+ this.focus();
541
+ return;
542
+ }
543
+ if (event.key === 'Escape') {
544
+ /* Abandoned whole, and the segments come back exactly as they were. The
545
+ key is stopped so an overlay above does not close on the same press —
546
+ the field takes it first while an expression is open. */
547
+ this.consume(event);
548
+ this.expression.set(null);
549
+ this.focus();
550
+ }
551
+ }
552
+ /** Commits the expression when it resolves, and abandons it when it does not. */
553
+ commitExpression(source) {
554
+ const step = this.resolved();
555
+ if (step === null) {
556
+ this.expression.set(null);
557
+ return;
558
+ }
559
+ this.commit(segmentsOfTime(step.time, this.format()), 'keyboard', source, step.days !== 0);
560
+ this.expression.set(null);
561
+ }
562
+ /**
563
+ * A whole time, pasted. The locale's shape is read first and ISO 8601 after
564
+ * it; text that is neither but reads as a duration opens the expression, so
565
+ * pasting `+40m` does what typing it does.
566
+ */
567
+ onPaste(event) {
568
+ if (!this.editable())
569
+ return;
570
+ const text = event.clipboardData?.getData('text/plain') ?? '';
571
+ const parsed = this.format().parse(text);
572
+ if (parsed !== null) {
573
+ event.preventDefault();
574
+ this.commit(segmentsOfTime(parsed, this.format()), 'keyboard', event);
575
+ return;
576
+ }
577
+ if ((this.relative() ?? this.defaults.relative) && parseDuration(text) !== null) {
578
+ event.preventDefault();
579
+ this.expression.set(text.trim());
580
+ }
581
+ }
582
+ /** A run of typed digits ends when focus leaves. */
583
+ onBlur() {
584
+ this.activeField.set(undefined);
585
+ this.onTouchedFn();
586
+ const held = this.segments();
587
+ if (held.typing === null)
588
+ return;
589
+ this.commit(commitTyping(held, this.format(), this.reference()), 'blur', undefined);
590
+ }
591
+ /* ── What the template reads ─────────────────────────────────────────── */
592
+ valueOf(field) {
593
+ return this.segments()[field];
594
+ }
595
+ rangeOf(field) {
596
+ return fieldRange(field, { hourCycle: this.format().hourCycle });
597
+ }
598
+ /**
599
+ * What a reader hears instead of the number. The day period is why it is not
600
+ * optional: `aria-valuenow` there is `0` or `1`, which is not a name in any
601
+ * language.
602
+ */
603
+ spokenOf(field) {
604
+ const raw = this.segments()[field];
605
+ if (raw === null)
606
+ return null;
607
+ if (field !== 'dayPeriod')
608
+ return String(raw);
609
+ return this.format().dayPeriodNames()[raw === 1 ? 1 : 0];
610
+ }
611
+ /**
612
+ * What one field shows. A finished value is padded to the field's width so
613
+ * the columns hold their place; a value still being typed is not, because a
614
+ * padded run shows numbers nobody typed.
615
+ */
616
+ textOf(field) {
617
+ const held = this.segments();
618
+ const raw = held[field];
619
+ if (raw === null) {
620
+ return this.format().pattern.find((part) => part.type === field)?.value ?? '';
621
+ }
622
+ const typing = held.typing;
623
+ if (typing !== null && typing.field === field) {
624
+ return String(raw).padStart(typing.digits, '0');
625
+ }
626
+ return this.format().formatValue(raw, field);
627
+ }
628
+ /** Exactly one segment is in the tab sequence, which is the roving model. */
629
+ tabIndexOf(field) {
630
+ if (this.resolvedDisabled() === true)
631
+ return -1;
632
+ return field === (this.activeField() ?? this.fields()[0]) ? 0 : -1;
633
+ }
634
+ /* ── The machinery ───────────────────────────────────────────────────── */
635
+ focusField(name) {
636
+ this.activeField.set(name);
637
+ this.element.querySelector(`[data-part="segment"][data-field="${name}"]`)?.focus();
638
+ }
639
+ moveBy(name, step) {
640
+ const next = this.fields()[this.fields().indexOf(name) + step];
641
+ if (next !== undefined)
642
+ this.focusField(next);
643
+ }
644
+ /**
645
+ * Moves the segments, and asks before the derived value moves with them.
646
+ *
647
+ * A run of typed digits moves the display and not the value: typing `23` into
648
+ * an hour passes through `2` on the way, and `2` is a time the arithmetic
649
+ * accepts and nobody meant. The request is emitted when the run ends.
650
+ */
651
+ commit(next, reason, source, crossesMidnight = false) {
652
+ const previous = this.time();
653
+ this.segments.set(next);
654
+ if (next.typing !== null)
655
+ return;
656
+ const nextValue = timeOf(next, this.format());
657
+ let cancelled = false;
658
+ const state = createControllable({
659
+ controlled: undefined,
660
+ initial: previous,
661
+ equals: isSameTime,
662
+ onRequest: (request) => {
663
+ this.valueChange.emit({ ...request, crossesMidnight, segments: next });
664
+ cancelled = request.cancelled;
665
+ },
666
+ });
667
+ state.request(nextValue, reason, source);
668
+ if (cancelled)
669
+ return;
670
+ this.onChangeFn(nextValue);
671
+ this.onValidatorChangeFn();
672
+ }
673
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTimeField, deps: [], target: i0.ɵɵFactoryTarget.Component });
674
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlTimeField, isStandalone: true, selector: "[slTimeField]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, isTimeUnavailable: { classPropertyName: "isTimeUnavailable", publicName: "isTimeUnavailable", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, timeZone: { classPropertyName: "timeZone", publicName: "timeZone", isSignal: true, isRequired: false, transformFunction: null }, hourCycle: { classPropertyName: "hourCycle", publicName: "hourCycle", isSignal: true, isRequired: false, transformFunction: null }, granularity: { classPropertyName: "granularity", publicName: "granularity", isSignal: true, isRequired: false, transformFunction: null }, referenceTime: { classPropertyName: "referenceTime", publicName: "referenceTime", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, relative: { classPropertyName: "relative", publicName: "relative", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { attributes: { "data-ui": "time-field", "data-part": "root" }, listeners: { "mousedown": "onRootMouseDown($event)", "keydown": "onKeyDown($event)" }, properties: { "attr.data-size": "resolvedSize()", "attr.data-variant": "resolvedVariant()", "attr.data-cycle": "dataCycle()", "attr.data-granularity": "resolvedGranularity()", "attr.data-relative": "expression() === null ? null : ''", "attr.data-disabled": "resolvedDisabled() === true ? '' : null", "attr.data-invalid": "resolvedInvalid() === true ? '' : null", "attr.data-readonly": "resolvedReadOnly() === true ? '' : null", "attr.data-required": "resolvedRequired() === true ? '' : null" } }, providers: [
675
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SlTimeField), multi: true },
676
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => SlTimeField), multi: true },
677
+ ], exportAs: ["slTimeField"], ngImport: i0, template: `<ng-content select="[slTimeFieldStart]" />
678
+ @if (expression() !== null) {
679
+ <input
680
+ #duration
681
+ data-part="duration"
682
+ type="text"
683
+ placeholder="+40m"
684
+ [attr.aria-label]="t('duration')"
685
+ [attr.aria-describedby]="describedBy()"
686
+ [value]="expression()"
687
+ (input)="onExpressionInput($event)"
688
+ (keydown)="onExpressionKeyDown($event)"
689
+ (blur)="commitExpression()"
690
+ />
691
+ <span
692
+ data-part="preview"
693
+ role="status"
694
+ aria-live="polite"
695
+ [attr.data-resolved]="resolved() === null ? null : ''"
696
+ [attr.data-crosses-midnight]="crossesMidnight() ? '' : null"
697
+ ><span slIcon directional><svg slGlyph name="chevron-right"></svg></span
698
+ >{{ previewText() }}</span
699
+ >
700
+ } @else {
701
+ <div
702
+ data-part="segments"
703
+ role="group"
704
+ [attr.id]="controlId()"
705
+ [attr.aria-label]="label() ?? writtenLabel"
706
+ [attr.aria-labelledby]="labelledBy()"
707
+ [attr.aria-describedby]="describedBy()"
708
+ [attr.aria-invalid]="ariaInvalid()"
709
+ [attr.aria-required]="ariaRequired()"
710
+ [attr.aria-readonly]="ariaReadonly()"
711
+ [attr.aria-disabled]="ariaDisabled()"
712
+ (paste)="onPaste($event)"
713
+ >
714
+ @for (part of format().pattern; track $index) {
715
+ @if (part.type === 'literal') {
716
+ <span data-part="literal" aria-hidden="true">{{ part.value }}</span>
717
+ } @else {
718
+ <div
719
+ data-part="segment"
720
+ role="spinbutton"
721
+ [attr.data-field]="part.type"
722
+ [attr.data-placeholder]="valueOf(part.type) === null ? '' : null"
723
+ [attr.aria-label]="part.value"
724
+ [attr.aria-valuenow]="valueOf(part.type)"
725
+ [attr.aria-valuemin]="rangeOf(part.type).min"
726
+ [attr.aria-valuemax]="rangeOf(part.type).max"
727
+ [attr.aria-valuetext]="spokenOf(part.type)"
728
+ [attr.aria-disabled]="ariaDisabled()"
729
+ [attr.aria-readonly]="ariaReadonly()"
730
+ [tabindex]="tabIndexOf(part.type)"
731
+ (mousedown)="onSegmentMouseDown($event)"
732
+ (focus)="activeField.set(part.type)"
733
+ (blur)="onBlur()"
734
+ >
735
+ {{ textOf(part.type) }}
736
+ </div>
737
+ }
738
+ }
739
+ </div>
740
+ }
741
+ <span data-part="value-text" hidden [attr.id]="valueTextId">{{ spokenTime() }}</span>
742
+ @if (showClear()) {
743
+ <button
744
+ data-part="clear"
745
+ type="button"
746
+ [attr.aria-label]="t('clear')"
747
+ (click)="clear($event)"
748
+ >
749
+ <span slIcon><svg slGlyph name="x"></svg></span>
750
+ </button>
751
+ }
752
+ <ng-content select="[slTimeFieldEnd]" />
753
+ <input data-part="hidden-input" type="hidden" readonly [attr.name]="name()" [value]="iso()" />`, isInline: true, styles: ["@layer slotted.components{[data-ui=time-field][data-part=root]{--_font-size: var(--slotted-control-font-size-md, 13px);--_height: var(--slotted-control-height-md, 34px);--_padding-inline: var(--slotted-control-padding-inline-md, 13px);--_gap: var(--slotted-control-gap-md, 8px);--_icon-floor: var(--slotted-time-field-icon-size-min, 14px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-md, 16px));--_action-size: var( --slotted-time-field-action-size, min( calc(var(--_icon-size) + 2 * var(--slotted-space-2, .25rem)), calc( var(--_height) - var(--slotted-control-border-width, 1px) * 2 - var(--slotted-space-2, .25rem) ) ) );align-items:center;background-color:var(--slotted-time-field-background, var(--slotted-control-surface, Field));border:var(--slotted-control-border-width, 1px) solid var(--slotted-time-field-border-color, var(--slotted-control-border-color, ButtonBorder));border-radius:var(--slotted-time-field-radius, var(--slotted-control-radius, 4px));box-shadow:var(--slotted-time-field-shadow, var(--slotted-control-shadow, none));box-sizing:border-box;color:var(--slotted-time-field-color, var(--slotted-text, CanvasText));display:flex;font-family:var(--slotted-control-font-family, system-ui, sans-serif);font-size:var(--_font-size);gap:var(--_gap);inline-size:100%;min-block-size:var(--_height);min-inline-size:0;padding-inline:var(--_padding-inline);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),box-shadow var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui=time-field][data-part=root]:has(>[data-part=clear]:last-child){padding-inline-end:max(0px,calc(var(--_padding-inline) - (var(--_action-size) - var(--_icon-size)) / 2))}[data-ui=time-field] [data-part=segments]{align-items:center;cursor:text;display:flex;flex:1 1 auto;min-inline-size:0;overflow:hidden;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}[data-ui=time-field] [data-part=segments]:dir(rtl){justify-content:flex-end}[data-ui=time-field] [data-part=segment]{--_digits: 2;background-color:transparent;border-radius:var(--slotted-time-field-segment-radius, var(--slotted-radius-xs, 2px));box-sizing:content-box;caret-color:transparent;color:inherit;cursor:text;font:inherit;flex:0 0 auto;min-inline-size:var(--slotted-time-field-segment-min-inline-size, calc(var(--_digits) * 1ch));padding-inline:var( --slotted-time-field-segment-padding-inline, var(--slotted-space-1, .125rem) );text-align:center;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}[data-ui=time-field] [data-part=segment][data-field=dayPeriod]{font-variant-numeric:normal;min-inline-size:var(--slotted-time-field-period-min-inline-size, 2ch);text-transform:none;white-space:nowrap}[data-ui=time-field] [data-part=segment][data-placeholder]{color:var(--slotted-time-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=time-field] [data-part=literal]{color:var(--slotted-time-field-literal-color, var(--slotted-text-muted, GrayText));flex:0 0 auto;unicode-bidi:plaintext;-webkit-user-select:none;user-select:none}[data-ui=time-field] [data-part=duration]{appearance:none;background-color:transparent;border:0;color:inherit;flex:1 1 auto;font:inherit;font-variant-numeric:tabular-nums;min-inline-size:0;outline:none;padding:0;direction:ltr;unicode-bidi:isolate}[data-ui=time-field] [data-part=duration]:dir(rtl){text-align:right}[data-ui=time-field] [data-part=duration]::placeholder{color:var(--slotted-time-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=time-field] [data-part=preview]{--_mark: 1cap;color:var(--slotted-time-field-preview-color, var(--slotted-tone-accent-text));display:block;flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap}[data-ui=time-field] [data-part=preview]>[data-ui=icon]{--slotted-icon-size: var(--_mark);margin-inline-end:var(--slotted-space-1, .125rem);vertical-align:calc((((1cap + 1ex) / 2) - var(--_mark)) / 2)}[data-ui=time-field] [data-part=preview][data-crosses-midnight]{color:var(--slotted-time-field-preview-next-color, var(--slotted-tone-warning-text))}[data-ui=time-field][data-part=root][data-relative]{border-color:var( --slotted-time-field-relative-border-color, var(--slotted-tone-accent-border) )}[data-ui=time-field][data-part=root][data-size=sm]{--_font-size: var(--slotted-control-font-size-sm, 12px);--_height: var(--slotted-control-height-sm, 30px);--_padding-inline: var(--slotted-control-padding-inline-sm, 10px);--_gap: var(--slotted-control-gap-sm, 6px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-sm, 14px))}[data-ui=time-field][data-part=root][data-size=md]{--_font-size: var(--slotted-control-font-size-md, 13px);--_height: var(--slotted-control-height-md, 34px);--_padding-inline: var(--slotted-control-padding-inline-md, 13px);--_gap: var(--slotted-control-gap-md, 8px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-md, 16px))}[data-ui=time-field][data-part=root][data-size=lg]{--_font-size: var(--slotted-control-font-size-lg, 14px);--_height: var(--slotted-control-height-lg, 38px);--_padding-inline: var(--slotted-control-padding-inline-lg, 16px);--_gap: var(--slotted-control-gap-lg, 8px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-lg, 18px))}[data-ui=time-field][data-part=root][data-variant=subtle]{background-color:var( --slotted-time-field-subtle-background, var(--slotted-surface-sunken, Canvas) );border-color:var( --slotted-time-field-subtle-border-color, var(--slotted-border-subtle, ButtonBorder) )}[data-ui=time-field][data-part=root][data-variant=plain]{background-color:transparent;border-color:transparent;border-radius:var(--slotted-radius-none, 0px);box-shadow:none}[data-ui=time-field]>[data-part=start],[data-ui=time-field]>[data-part=end]{--slotted-icon-size: var(--_icon-size);align-items:center;color:var(--slotted-time-field-adornment-color, var(--slotted-text-muted, GrayText));display:inline-flex;flex:0 0 auto;gap:var(--slotted-space-2, .25rem);line-height:1;unicode-bidi:plaintext}[data-ui=time-field]>[data-part=start]>svg,[data-ui=time-field]>[data-part=end]>svg{block-size:var(--_icon-size);inline-size:var(--_icon-size)}[data-ui=time-field]>[data-part=clear]{align-items:center;appearance:none;background-color:transparent;block-size:var(--_action-size);border:0;border-radius:var(--slotted-time-field-radius, var(--slotted-control-radius, 4px));color:var(--slotted-time-field-action-color, var(--slotted-text-muted, GrayText));cursor:pointer;display:inline-flex;flex:0 0 auto;inline-size:var(--_action-size);justify-content:center;padding:0;position:relative;touch-action:manipulation;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing);-webkit-tap-highlight-color:transparent}[data-ui=time-field]>[data-part=clear]:after{content:\"\";inset:min(0px,calc((100% - var(--slotted-target-min, 24px)) / 2));position:absolute}@media(pointer:coarse){[data-ui=time-field]>[data-part=clear]:after{inset:min(0px,calc((100% - var(--slotted-target-comfortable, 44px)) / 2))}[data-ui=time-field]>[data-part=end]+[data-part=clear]:after{inset-inline-start:0}}[data-ui=time-field]>[data-part=clear]{--slotted-icon-size: var(--_icon-size)}[data-ui=time-field]>[data-part=clear]:hover:not(:disabled):not([data-disabled]){background-color:var( --slotted-time-field-action-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=time-field]>[data-part=clear]:active:not(:disabled):not([data-disabled]){background-color:var( --slotted-time-field-action-active-background, var(--slotted-tone-secondary-subtle-active) )}[data-ui=time-field]>[data-part=clear]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui=time-field][data-part=root]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){border-color:var(--slotted-time-field-hover-border-color, var(--slotted-tone-accent-border))}[data-ui=time-field][data-part=root][data-variant=subtle]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-time-field-subtle-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=time-field][data-part=root][data-variant=plain]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-time-field-plain-hover-background, var(--slotted-tone-secondary-subtle-hover) );border-color:transparent}[data-ui=time-field][data-part=root]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root]:has([data-part=duration]:focus){box-shadow:var(--slotted-control-shadow-focus-geometry, 0 1px 4px -1px) var(--slotted-focus-ring-color, Highlight);outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=time-field][data-part=root][data-variant=plain]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-variant=plain]:has([data-part=duration]:focus){box-shadow:none;outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui=time-field] [data-part=segment]:focus{background-color:var( --slotted-time-field-segment-focus-background, var(--slotted-tone-accent-solid) );color:var(--slotted-time-field-segment-focus-color, var(--slotted-tone-accent-on-solid));outline:none}[data-ui=time-field][data-part=root][data-invalid]{--slotted-focus-ring-color: var( --slotted-time-field-invalid-focus-ring-color, var(--slotted-focus-ring-color-invalid, Highlight) );--_invalid-edge-width: var( --slotted-time-field-invalid-edge-width, var(--slotted-control-invalid-edge-width, 1px) );--_invalid-edge-color: var( --slotted-time-field-invalid-border-color, var(--slotted-tone-danger-border) );--_invalid-edge: inset 0 0 0 var(--_invalid-edge-width) var(--_invalid-edge-color);border-color:var(--slotted-time-field-invalid-border-color, var(--slotted-tone-danger-border));box-shadow:var(--_invalid-edge)}[data-ui=time-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-invalid]:has([data-part=duration]:focus){box-shadow:var(--_invalid-edge),var(--slotted-control-shadow-focus-geometry, 0 1px 4px -1px) var(--slotted-focus-ring-color, Highlight)}[data-ui=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=duration]:focus){box-shadow:inset 0 0 0 calc(var(--slotted-focus-ring-offset, 2px) - var(--slotted-control-border-width, 1px) + var(--_invalid-edge-width)) var(--_invalid-edge-color)}@media(forced-colors:active){[data-ui=time-field][data-part=root][data-invalid]{outline:var(--_invalid-edge-width) solid CanvasText;outline-offset:calc(-1 * (var(--slotted-control-border-width, 1px) + var(--_invalid-edge-width)))}[data-ui=time-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-invalid]:has([data-part=duration]:focus){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=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=duration]:focus){outline:calc(var(--slotted-focus-ring-width, 2px) + var(--_invalid-edge-width)) double var(--slotted-focus-ring-color, Highlight);outline-offset:calc(-1 * (var(--slotted-focus-ring-width, 2px) + var(--_invalid-edge-width)))}}[data-ui=time-field][data-part=root][data-readonly],[data-ui=time-field][data-part=root][data-readonly] [data-part=segments],[data-ui=time-field][data-part=root][data-readonly] [data-part=segment]{cursor:default}[data-ui=time-field][data-part=root][data-readonly]{background-color:var( --slotted-time-field-readonly-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=time-field][data-part=root][data-disabled]{background-color:var( --slotted-time-field-disabled-background, var(--slotted-disabled-background) );border-color:var(--slotted-time-field-disabled-border-color, var(--slotted-disabled-border));box-shadow:none;color:var(--slotted-time-field-disabled-color, var(--slotted-disabled-foreground));cursor:not-allowed}[data-ui=time-field][data-part=root][data-disabled] [data-part=segments],[data-ui=time-field][data-part=root][data-disabled] [data-part=segment]{cursor:not-allowed}[data-ui=time-field][data-part=root][data-disabled]>[data-part=start],[data-ui=time-field][data-part=root][data-disabled]>[data-part=end],[data-ui=time-field][data-part=root][data-disabled] [data-part=literal],[data-ui=time-field][data-part=root][data-disabled] [data-part=segment][data-placeholder]{color:var(--slotted-disabled-foreground)}@media(forced-colors:active){[data-ui=time-field][data-part=root][data-variant=plain]{border-color:ButtonBorder}[data-ui=time-field][data-part=root][data-relative]{border-color:Highlight}}}\n"], 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 });
754
+ }
755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTimeField, decorators: [{
756
+ type: Component,
757
+ args: [{ selector: '[slTimeField]', standalone: true, exportAs: 'slTimeField', imports: [SlGlyph, SlIcon], template: `<ng-content select="[slTimeFieldStart]" />
758
+ @if (expression() !== null) {
759
+ <input
760
+ #duration
761
+ data-part="duration"
762
+ type="text"
763
+ placeholder="+40m"
764
+ [attr.aria-label]="t('duration')"
765
+ [attr.aria-describedby]="describedBy()"
766
+ [value]="expression()"
767
+ (input)="onExpressionInput($event)"
768
+ (keydown)="onExpressionKeyDown($event)"
769
+ (blur)="commitExpression()"
770
+ />
771
+ <span
772
+ data-part="preview"
773
+ role="status"
774
+ aria-live="polite"
775
+ [attr.data-resolved]="resolved() === null ? null : ''"
776
+ [attr.data-crosses-midnight]="crossesMidnight() ? '' : null"
777
+ ><span slIcon directional><svg slGlyph name="chevron-right"></svg></span
778
+ >{{ previewText() }}</span
779
+ >
780
+ } @else {
781
+ <div
782
+ data-part="segments"
783
+ role="group"
784
+ [attr.id]="controlId()"
785
+ [attr.aria-label]="label() ?? writtenLabel"
786
+ [attr.aria-labelledby]="labelledBy()"
787
+ [attr.aria-describedby]="describedBy()"
788
+ [attr.aria-invalid]="ariaInvalid()"
789
+ [attr.aria-required]="ariaRequired()"
790
+ [attr.aria-readonly]="ariaReadonly()"
791
+ [attr.aria-disabled]="ariaDisabled()"
792
+ (paste)="onPaste($event)"
793
+ >
794
+ @for (part of format().pattern; track $index) {
795
+ @if (part.type === 'literal') {
796
+ <span data-part="literal" aria-hidden="true">{{ part.value }}</span>
797
+ } @else {
798
+ <div
799
+ data-part="segment"
800
+ role="spinbutton"
801
+ [attr.data-field]="part.type"
802
+ [attr.data-placeholder]="valueOf(part.type) === null ? '' : null"
803
+ [attr.aria-label]="part.value"
804
+ [attr.aria-valuenow]="valueOf(part.type)"
805
+ [attr.aria-valuemin]="rangeOf(part.type).min"
806
+ [attr.aria-valuemax]="rangeOf(part.type).max"
807
+ [attr.aria-valuetext]="spokenOf(part.type)"
808
+ [attr.aria-disabled]="ariaDisabled()"
809
+ [attr.aria-readonly]="ariaReadonly()"
810
+ [tabindex]="tabIndexOf(part.type)"
811
+ (mousedown)="onSegmentMouseDown($event)"
812
+ (focus)="activeField.set(part.type)"
813
+ (blur)="onBlur()"
814
+ >
815
+ {{ textOf(part.type) }}
816
+ </div>
817
+ }
818
+ }
819
+ </div>
820
+ }
821
+ <span data-part="value-text" hidden [attr.id]="valueTextId">{{ spokenTime() }}</span>
822
+ @if (showClear()) {
823
+ <button
824
+ data-part="clear"
825
+ type="button"
826
+ [attr.aria-label]="t('clear')"
827
+ (click)="clear($event)"
828
+ >
829
+ <span slIcon><svg slGlyph name="x"></svg></span>
830
+ </button>
831
+ }
832
+ <ng-content select="[slTimeFieldEnd]" />
833
+ <input data-part="hidden-input" type="hidden" readonly [attr.name]="name()" [value]="iso()" />`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
834
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SlTimeField), multi: true },
835
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => SlTimeField), multi: true },
836
+ ], host: {
837
+ 'data-ui': 'time-field',
838
+ 'data-part': 'root',
839
+ '(mousedown)': 'onRootMouseDown($event)',
840
+ '(keydown)': 'onKeyDown($event)',
841
+ '[attr.data-size]': 'resolvedSize()',
842
+ '[attr.data-variant]': 'resolvedVariant()',
843
+ '[attr.data-cycle]': 'dataCycle()',
844
+ '[attr.data-granularity]': 'resolvedGranularity()',
845
+ '[attr.data-relative]': "expression() === null ? null : ''",
846
+ '[attr.data-disabled]': "resolvedDisabled() === true ? '' : null",
847
+ '[attr.data-invalid]': "resolvedInvalid() === true ? '' : null",
848
+ '[attr.data-readonly]': "resolvedReadOnly() === true ? '' : null",
849
+ '[attr.data-required]': "resolvedRequired() === true ? '' : null",
850
+ }, styles: ["@layer slotted.components{[data-ui=time-field][data-part=root]{--_font-size: var(--slotted-control-font-size-md, 13px);--_height: var(--slotted-control-height-md, 34px);--_padding-inline: var(--slotted-control-padding-inline-md, 13px);--_gap: var(--slotted-control-gap-md, 8px);--_icon-floor: var(--slotted-time-field-icon-size-min, 14px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-md, 16px));--_action-size: var( --slotted-time-field-action-size, min( calc(var(--_icon-size) + 2 * var(--slotted-space-2, .25rem)), calc( var(--_height) - var(--slotted-control-border-width, 1px) * 2 - var(--slotted-space-2, .25rem) ) ) );align-items:center;background-color:var(--slotted-time-field-background, var(--slotted-control-surface, Field));border:var(--slotted-control-border-width, 1px) solid var(--slotted-time-field-border-color, var(--slotted-control-border-color, ButtonBorder));border-radius:var(--slotted-time-field-radius, var(--slotted-control-radius, 4px));box-shadow:var(--slotted-time-field-shadow, var(--slotted-control-shadow, none));box-sizing:border-box;color:var(--slotted-time-field-color, var(--slotted-text, CanvasText));display:flex;font-family:var(--slotted-control-font-family, system-ui, sans-serif);font-size:var(--_font-size);gap:var(--_gap);inline-size:100%;min-block-size:var(--_height);min-inline-size:0;padding-inline:var(--_padding-inline);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),box-shadow var(--slotted-control-transition-duration) var(--slotted-control-transition-easing)}[data-ui=time-field][data-part=root]:has(>[data-part=clear]:last-child){padding-inline-end:max(0px,calc(var(--_padding-inline) - (var(--_action-size) - var(--_icon-size)) / 2))}[data-ui=time-field] [data-part=segments]{align-items:center;cursor:text;display:flex;flex:1 1 auto;min-inline-size:0;overflow:hidden;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}[data-ui=time-field] [data-part=segments]:dir(rtl){justify-content:flex-end}[data-ui=time-field] [data-part=segment]{--_digits: 2;background-color:transparent;border-radius:var(--slotted-time-field-segment-radius, var(--slotted-radius-xs, 2px));box-sizing:content-box;caret-color:transparent;color:inherit;cursor:text;font:inherit;flex:0 0 auto;min-inline-size:var(--slotted-time-field-segment-min-inline-size, calc(var(--_digits) * 1ch));padding-inline:var( --slotted-time-field-segment-padding-inline, var(--slotted-space-1, .125rem) );text-align:center;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}[data-ui=time-field] [data-part=segment][data-field=dayPeriod]{font-variant-numeric:normal;min-inline-size:var(--slotted-time-field-period-min-inline-size, 2ch);text-transform:none;white-space:nowrap}[data-ui=time-field] [data-part=segment][data-placeholder]{color:var(--slotted-time-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=time-field] [data-part=literal]{color:var(--slotted-time-field-literal-color, var(--slotted-text-muted, GrayText));flex:0 0 auto;unicode-bidi:plaintext;-webkit-user-select:none;user-select:none}[data-ui=time-field] [data-part=duration]{appearance:none;background-color:transparent;border:0;color:inherit;flex:1 1 auto;font:inherit;font-variant-numeric:tabular-nums;min-inline-size:0;outline:none;padding:0;direction:ltr;unicode-bidi:isolate}[data-ui=time-field] [data-part=duration]:dir(rtl){text-align:right}[data-ui=time-field] [data-part=duration]::placeholder{color:var(--slotted-time-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=time-field] [data-part=preview]{--_mark: 1cap;color:var(--slotted-time-field-preview-color, var(--slotted-tone-accent-text));display:block;flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap}[data-ui=time-field] [data-part=preview]>[data-ui=icon]{--slotted-icon-size: var(--_mark);margin-inline-end:var(--slotted-space-1, .125rem);vertical-align:calc((((1cap + 1ex) / 2) - var(--_mark)) / 2)}[data-ui=time-field] [data-part=preview][data-crosses-midnight]{color:var(--slotted-time-field-preview-next-color, var(--slotted-tone-warning-text))}[data-ui=time-field][data-part=root][data-relative]{border-color:var( --slotted-time-field-relative-border-color, var(--slotted-tone-accent-border) )}[data-ui=time-field][data-part=root][data-size=sm]{--_font-size: var(--slotted-control-font-size-sm, 12px);--_height: var(--slotted-control-height-sm, 30px);--_padding-inline: var(--slotted-control-padding-inline-sm, 10px);--_gap: var(--slotted-control-gap-sm, 6px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-sm, 14px))}[data-ui=time-field][data-part=root][data-size=md]{--_font-size: var(--slotted-control-font-size-md, 13px);--_height: var(--slotted-control-height-md, 34px);--_padding-inline: var(--slotted-control-padding-inline-md, 13px);--_gap: var(--slotted-control-gap-md, 8px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-md, 16px))}[data-ui=time-field][data-part=root][data-size=lg]{--_font-size: var(--slotted-control-font-size-lg, 14px);--_height: var(--slotted-control-height-lg, 38px);--_padding-inline: var(--slotted-control-padding-inline-lg, 16px);--_gap: var(--slotted-control-gap-lg, 8px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-lg, 18px))}[data-ui=time-field][data-part=root][data-variant=subtle]{background-color:var( --slotted-time-field-subtle-background, var(--slotted-surface-sunken, Canvas) );border-color:var( --slotted-time-field-subtle-border-color, var(--slotted-border-subtle, ButtonBorder) )}[data-ui=time-field][data-part=root][data-variant=plain]{background-color:transparent;border-color:transparent;border-radius:var(--slotted-radius-none, 0px);box-shadow:none}[data-ui=time-field]>[data-part=start],[data-ui=time-field]>[data-part=end]{--slotted-icon-size: var(--_icon-size);align-items:center;color:var(--slotted-time-field-adornment-color, var(--slotted-text-muted, GrayText));display:inline-flex;flex:0 0 auto;gap:var(--slotted-space-2, .25rem);line-height:1;unicode-bidi:plaintext}[data-ui=time-field]>[data-part=start]>svg,[data-ui=time-field]>[data-part=end]>svg{block-size:var(--_icon-size);inline-size:var(--_icon-size)}[data-ui=time-field]>[data-part=clear]{align-items:center;appearance:none;background-color:transparent;block-size:var(--_action-size);border:0;border-radius:var(--slotted-time-field-radius, var(--slotted-control-radius, 4px));color:var(--slotted-time-field-action-color, var(--slotted-text-muted, GrayText));cursor:pointer;display:inline-flex;flex:0 0 auto;inline-size:var(--_action-size);justify-content:center;padding:0;position:relative;touch-action:manipulation;transition:background-color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing),color var(--slotted-control-transition-duration) var(--slotted-control-transition-easing);-webkit-tap-highlight-color:transparent}[data-ui=time-field]>[data-part=clear]:after{content:\"\";inset:min(0px,calc((100% - var(--slotted-target-min, 24px)) / 2));position:absolute}@media(pointer:coarse){[data-ui=time-field]>[data-part=clear]:after{inset:min(0px,calc((100% - var(--slotted-target-comfortable, 44px)) / 2))}[data-ui=time-field]>[data-part=end]+[data-part=clear]:after{inset-inline-start:0}}[data-ui=time-field]>[data-part=clear]{--slotted-icon-size: var(--_icon-size)}[data-ui=time-field]>[data-part=clear]:hover:not(:disabled):not([data-disabled]){background-color:var( --slotted-time-field-action-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=time-field]>[data-part=clear]:active:not(:disabled):not([data-disabled]){background-color:var( --slotted-time-field-action-active-background, var(--slotted-tone-secondary-subtle-active) )}[data-ui=time-field]>[data-part=clear]:focus-visible{outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui=time-field][data-part=root]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){border-color:var(--slotted-time-field-hover-border-color, var(--slotted-tone-accent-border))}[data-ui=time-field][data-part=root][data-variant=subtle]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-time-field-subtle-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=time-field][data-part=root][data-variant=plain]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-time-field-plain-hover-background, var(--slotted-tone-secondary-subtle-hover) );border-color:transparent}[data-ui=time-field][data-part=root]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root]:has([data-part=duration]:focus){box-shadow:var(--slotted-control-shadow-focus-geometry, 0 1px 4px -1px) var(--slotted-focus-ring-color, Highlight);outline:var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);outline-offset:var(--slotted-focus-ring-offset, 2px)}[data-ui=time-field][data-part=root][data-variant=plain]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-variant=plain]:has([data-part=duration]:focus){box-shadow:none;outline-offset:calc(var(--slotted-focus-ring-offset, 2px) * -1)}[data-ui=time-field] [data-part=segment]:focus{background-color:var( --slotted-time-field-segment-focus-background, var(--slotted-tone-accent-solid) );color:var(--slotted-time-field-segment-focus-color, var(--slotted-tone-accent-on-solid));outline:none}[data-ui=time-field][data-part=root][data-invalid]{--slotted-focus-ring-color: var( --slotted-time-field-invalid-focus-ring-color, var(--slotted-focus-ring-color-invalid, Highlight) );--_invalid-edge-width: var( --slotted-time-field-invalid-edge-width, var(--slotted-control-invalid-edge-width, 1px) );--_invalid-edge-color: var( --slotted-time-field-invalid-border-color, var(--slotted-tone-danger-border) );--_invalid-edge: inset 0 0 0 var(--_invalid-edge-width) var(--_invalid-edge-color);border-color:var(--slotted-time-field-invalid-border-color, var(--slotted-tone-danger-border));box-shadow:var(--_invalid-edge)}[data-ui=time-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-invalid]:has([data-part=duration]:focus){box-shadow:var(--_invalid-edge),var(--slotted-control-shadow-focus-geometry, 0 1px 4px -1px) var(--slotted-focus-ring-color, Highlight)}[data-ui=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=duration]:focus){box-shadow:inset 0 0 0 calc(var(--slotted-focus-ring-offset, 2px) - var(--slotted-control-border-width, 1px) + var(--_invalid-edge-width)) var(--_invalid-edge-color)}@media(forced-colors:active){[data-ui=time-field][data-part=root][data-invalid]{outline:var(--_invalid-edge-width) solid CanvasText;outline-offset:calc(-1 * (var(--slotted-control-border-width, 1px) + var(--_invalid-edge-width)))}[data-ui=time-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-invalid]:has([data-part=duration]:focus){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=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=time-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=duration]:focus){outline:calc(var(--slotted-focus-ring-width, 2px) + var(--_invalid-edge-width)) double var(--slotted-focus-ring-color, Highlight);outline-offset:calc(-1 * (var(--slotted-focus-ring-width, 2px) + var(--_invalid-edge-width)))}}[data-ui=time-field][data-part=root][data-readonly],[data-ui=time-field][data-part=root][data-readonly] [data-part=segments],[data-ui=time-field][data-part=root][data-readonly] [data-part=segment]{cursor:default}[data-ui=time-field][data-part=root][data-readonly]{background-color:var( --slotted-time-field-readonly-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=time-field][data-part=root][data-disabled]{background-color:var( --slotted-time-field-disabled-background, var(--slotted-disabled-background) );border-color:var(--slotted-time-field-disabled-border-color, var(--slotted-disabled-border));box-shadow:none;color:var(--slotted-time-field-disabled-color, var(--slotted-disabled-foreground));cursor:not-allowed}[data-ui=time-field][data-part=root][data-disabled] [data-part=segments],[data-ui=time-field][data-part=root][data-disabled] [data-part=segment]{cursor:not-allowed}[data-ui=time-field][data-part=root][data-disabled]>[data-part=start],[data-ui=time-field][data-part=root][data-disabled]>[data-part=end],[data-ui=time-field][data-part=root][data-disabled] [data-part=literal],[data-ui=time-field][data-part=root][data-disabled] [data-part=segment][data-placeholder]{color:var(--slotted-disabled-foreground)}@media(forced-colors:active){[data-ui=time-field][data-part=root][data-variant=plain]{border-color:ButtonBorder}[data-ui=time-field][data-part=root][data-relative]{border-color:Highlight}}}\n"] }]
851
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], isTimeUnavailable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isTimeUnavailable", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], timeZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeZone", required: false }] }], hourCycle: [{ type: i0.Input, args: [{ isSignal: true, alias: "hourCycle", required: false }] }], granularity: [{ type: i0.Input, args: [{ isSignal: true, alias: "granularity", required: false }] }], referenceTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "referenceTime", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], relative: [{ type: i0.Input, args: [{ isSignal: true, alias: "relative", required: false }] }], messages: [{ type: i0.Input, args: [{ isSignal: true, alias: "messages", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
852
+
853
+ /**
854
+ * An adornment before the time in the reading direction: a clock mark, a label,
855
+ * an icon. Named for the direction rather than for a side, so the same markup
856
+ * puts the mark before the time in both directions.
857
+ *
858
+ * It is a directive on the consumer's own element, so an `icon`, a `kbd` or a
859
+ * `span` all work and none of them loses its own semantics. The stylesheet
860
+ * sizes any icon inside it from the control's own glyph scale.
861
+ */
862
+ class SlTimeFieldStart {
863
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTimeFieldStart, deps: [], target: i0.ɵɵFactoryTarget.Directive });
864
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlTimeFieldStart, isStandalone: true, selector: "[slTimeFieldStart]", host: { attributes: { "data-part": "start" } }, exportAs: ["slTimeFieldStart"], ngImport: i0 });
865
+ }
866
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTimeFieldStart, decorators: [{
867
+ type: Directive,
868
+ args: [{
869
+ selector: '[slTimeFieldStart]',
870
+ standalone: true,
871
+ exportAs: 'slTimeFieldStart',
872
+ host: { 'data-part': 'start' },
873
+ }]
874
+ }] });
875
+ /** An adornment after the time in the reading direction. */
876
+ class SlTimeFieldEnd {
877
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTimeFieldEnd, deps: [], target: i0.ɵɵFactoryTarget.Directive });
878
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlTimeFieldEnd, isStandalone: true, selector: "[slTimeFieldEnd]", host: { attributes: { "data-part": "end" } }, exportAs: ["slTimeFieldEnd"], ngImport: i0 });
879
+ }
880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlTimeFieldEnd, decorators: [{
881
+ type: Directive,
882
+ args: [{
883
+ selector: '[slTimeFieldEnd]',
884
+ standalone: true,
885
+ exportAs: 'slTimeFieldEnd',
886
+ host: { 'data-part': 'end' },
887
+ }]
888
+ }] });
889
+
890
+ /**
891
+ * Generated bundle index. Do not edit.
892
+ */
893
+
894
+ export { SlTimeField, SlTimeFieldEnd, SlTimeFieldStart, TIME_FIELD_DEFAULTS, injectTimeFieldDefaults, provideTimeFieldDefaults };
895
+ //# sourceMappingURL=slotted-angular-time-field.mjs.map