@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,1058 @@
1
+ import { EMPTY_SEGMENTS, createDateTimeFormat, dateTimeOf, incompleteHalf, toISODateTime, parseDuration, DATE_TIME_UNITS, resolveRelativeDateTime, isSameDateTime, segmentsOfDateTime, nowDateTimeIn, isDateTimeInRange, dayWindow, isTimeInRange, isRelativeKey, clearSegment, boundSegment, stepSegment, typeDayPeriod, typeDigit, commitTyping, halfOfField, fieldRange } from '@slotted/core/date';
2
+ import { createControllable } from '@slotted/core/state';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, inject, input, booleanAttribute, output, ElementRef, HostAttributeToken, signal, computed, effect, forwardRef, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
5
+ import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
6
+ import { injectLocale, injectMessages } from '@slotted/angular/i18n';
7
+ import { SlGlyph, SlIcon } from '@slotted/angular/icon';
8
+ import { datetimeFieldMessages } from '@slotted/core/i18n';
9
+ import { SlField } from '@slotted/angular/field';
10
+
11
+ const FALLBACK = {
12
+ calendar: 'gregory',
13
+ firstDayOfWeek: undefined,
14
+ granularity: 'minute',
15
+ hourCycle: undefined,
16
+ relative: true,
17
+ size: 'md',
18
+ timeZone: undefined,
19
+ variant: 'outline',
20
+ yearPivot: undefined,
21
+ };
22
+ const DATE_TIME_FIELD_DEFAULTS = new InjectionToken('slotted datetime field defaults', { providedIn: 'root', factory: () => FALLBACK });
23
+ /**
24
+ * An application decides once what its datetimes look like, which clock they
25
+ * run on and which zone answers "now", rather than repeating the same inputs on
26
+ * every control in a form. A control that states any of them itself still
27
+ * wins. The locale that writes them, and the words the controls announce, come
28
+ * from the language in force (`provideSlotted`).
29
+ */
30
+ function provideDateTimeFieldDefaults(defaults) {
31
+ return {
32
+ provide: DATE_TIME_FIELD_DEFAULTS,
33
+ useFactory: () => ({ ...FALLBACK, ...defaults }),
34
+ };
35
+ }
36
+ /** What a datetime field renders as here, before it states anything itself. */
37
+ function injectDateTimeFieldDefaults() {
38
+ return inject(DATE_TIME_FIELD_DEFAULTS);
39
+ }
40
+
41
+ /**
42
+ * How far `PageUp` and `PageDown` move each field.
43
+ *
44
+ * Each half pages the way its own family already pages: year 10, month 5 and
45
+ * day 5 from `date-field`, hour 3, minute 15, second 15 and day period 1 from
46
+ * `time-field`. Two fields drawing the same segment and paging it differently
47
+ * would be one behaviour with two answers.
48
+ */
49
+ const PAGE_STEP = {
50
+ year: 10,
51
+ month: 5,
52
+ day: 5,
53
+ hour: 3,
54
+ minute: 15,
55
+ second: 15,
56
+ dayPeriod: 1,
57
+ };
58
+ /**
59
+ * The hidden element carrying the whole value needs an identifier the group can
60
+ * point `aria-labelledby` at, and Angular has no `useId`. A module counter is
61
+ * what the framework leaves: stable for a given render order, which is what
62
+ * hydration needs, and never on the public surface.
63
+ */
64
+ let sequence = 0;
65
+ /**
66
+ * A segmented datetime control: one spin button per field, in the order the
67
+ * locale writes them, with all seven fields in one row.
68
+ *
69
+ * **It is not a `slDateField` beside a `slTimeField`.** Two nested family roots
70
+ * would be two groups, two values and two `SegmentState`s. The order of the
71
+ * halves and the literal between them come from one combined
72
+ * `Intl.DateTimeFormat` that neither of them can see, and a digit that fills
73
+ * the last date segment advances across the boundary into the first time
74
+ * segment — which two roots cannot do.
75
+ *
76
+ * **Angular is a component with a template and a `ControlValueAccessor`**,
77
+ * because a datetime belongs in a Reactive Form and Angular has the integration
78
+ * point for it. It also implements `Validator`, and it reports five rules where
79
+ * Kendo — the only surveyed implementation that validates at all — reports
80
+ * three: `dateTimeParse`, `dateTimeIncomplete`, `dateTimeMin`, `dateTimeMax`
81
+ * and `dateTimeUnavailable`.
82
+ *
83
+ * **The missing half is said out loud**, on the root, on the request and in the
84
+ * validator. Every surveyed implementation reports an empty control and loses
85
+ * what was written.
86
+ */
87
+ class SlDateTimeField {
88
+ /** Present means the consumer owns the value. */
89
+ value = input(undefined, /* @ts-ignore */
90
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
91
+ /** The value the control starts from when nobody else writes one. */
92
+ defaultValue = input(undefined, /* @ts-ignore */
93
+ ...(ngDevMode ? [{ debugName: "defaultValue" }] : /* istanbul ignore next */ []));
94
+ /** The earliest whole value: where the range starts. Also a form rule. */
95
+ min = input(undefined, /* @ts-ignore */
96
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
97
+ /** The latest whole value: where the range ends. Also a form rule. */
98
+ max = input(undefined, /* @ts-ignore */
99
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
100
+ /**
101
+ * The earliest time of **every** day inside the range.
102
+ *
103
+ * It applies beside `min` rather than instead of it, which MUI's own
104
+ * validation page records that it cannot do.
105
+ */
106
+ minTime = input(undefined, /* @ts-ignore */
107
+ ...(ngDevMode ? [{ debugName: "minTime" }] : /* istanbul ignore next */ []));
108
+ /** The latest time of every day inside the range, beside `max`. */
109
+ maxTime = input(undefined, /* @ts-ignore */
110
+ ...(ngDevMode ? [{ debugName: "maxTime" }] : /* istanbul ignore next */ []));
111
+ /** Refuses particular days — a holiday, a closed shop, a booked room. */
112
+ isDateUnavailable = input(undefined, /* @ts-ignore */
113
+ ...(ngDevMode ? [{ debugName: "isDateUnavailable" }] : /* istanbul ignore next */ []));
114
+ /**
115
+ * Refuses particular times on a particular day. Two predicates rather than
116
+ * one, because a day-level answer cannot be derived from a datetime-level
117
+ * predicate without probing every step of that day.
118
+ */
119
+ isTimeUnavailable = input(undefined, /* @ts-ignore */
120
+ ...(ngDevMode ? [{ debugName: "isTimeUnavailable" }] : /* istanbul ignore next */ []));
121
+ /**
122
+ * BCP 47. Decides the field order, the separators and the placeholder.
123
+ * Unset, the language in force decides.
124
+ */
125
+ locale = input(undefined, /* @ts-ignore */
126
+ ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
127
+ /** Which zone answers "what is the time now", and nothing else. */
128
+ timeZone = input(undefined, /* @ts-ignore */
129
+ ...(ngDevMode ? [{ debugName: "timeZone" }] : /* istanbul ignore next */ []));
130
+ hourCycle = input(undefined, /* @ts-ignore */
131
+ ...(ngDevMode ? [{ debugName: "hourCycle" }] : /* istanbul ignore next */ []));
132
+ granularity = input(undefined, /* @ts-ignore */
133
+ ...(ngDevMode ? [{ debugName: "granularity" }] : /* istanbul ignore next */ []));
134
+ calendar = input(undefined, /* @ts-ignore */
135
+ ...(ngDevMode ? [{ debugName: "calendar" }] : /* istanbul ignore next */ []));
136
+ firstDayOfWeek = input(undefined, /* @ts-ignore */
137
+ ...(ngDevMode ? [{ debugName: "firstDayOfWeek" }] : /* istanbul ignore next */ []));
138
+ yearPivot = input(undefined, /* @ts-ignore */
139
+ ...(ngDevMode ? [{ debugName: "yearPivot" }] : /* istanbul ignore next */ []));
140
+ /**
141
+ * What an empty segment steps from, and what a duration resolves against.
142
+ * Unset, both are the current datetime in `timeZone`.
143
+ */
144
+ referenceDateTime = input(undefined, /* @ts-ignore */
145
+ ...(ngDevMode ? [{ debugName: "referenceDateTime" }] : /* istanbul ignore next */ []));
146
+ size = input(undefined, /* @ts-ignore */
147
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
148
+ variant = input(undefined, /* @ts-ignore */
149
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
150
+ /** Unstated rather than `false`, so the control defers to the field. */
151
+ disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
152
+ readOnly = input(undefined, { ...(ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
153
+ invalid = input(undefined, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
154
+ required = input(undefined, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
155
+ /** Draws a button that empties both halves and returns focus to the control. */
156
+ clearable = input(false, { ...(ngDevMode ? { debugName: "clearable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
157
+ /** Whether `+`, `-` and `=` open the duration expression. */
158
+ relative = input(undefined, { ...(ngDevMode ? { debugName: "relative" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
159
+ /**
160
+ * Words laid over the catalog of the language in force, key by key: the
161
+ * clear button's name and the duration expression's name.
162
+ */
163
+ messages = input(undefined, /* @ts-ignore */
164
+ ...(ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []));
165
+ /** The name a plain form post carries the ISO string under. */
166
+ name = input(undefined, /* @ts-ignore */
167
+ ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
168
+ /**
169
+ * One output for one transition, carrying the value, the value it replaces,
170
+ * the segments, the half that is still missing, the reason, the originating
171
+ * event and `cancel()`. There is no `[(value)]`, because a two-way binding
172
+ * has one slot and can carry none of those.
173
+ */
174
+ /**
175
+ * The accessible name, when it is bound rather than written: a static
176
+ * `aria-label` is read once from the host, and a family naming this field
177
+ * from its own input — `datetime-range-picker` names its two ends — has no
178
+ * static attribute to write.
179
+ */
180
+ label = input(undefined, /* @ts-ignore */
181
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
182
+ valueChange = output();
183
+ element = inject(ElementRef).nativeElement;
184
+ defaults = injectDateTimeFieldDefaults();
185
+ appLocale = injectLocale();
186
+ /** The family's words in the language in force, with this field's `messages` laid over them. */
187
+ t = injectMessages(datetimeFieldMessages, this.messages);
188
+ field = inject(SlField, { optional: true });
189
+ /** Read before the host binding computes, so it never writes over it. */
190
+ writtenLabel = inject(new HostAttributeToken('aria-label'), {
191
+ optional: true,
192
+ });
193
+ writtenId = inject(new HostAttributeToken('id'), { optional: true });
194
+ writtenLabelledBy = inject(new HostAttributeToken('aria-labelledby'), {
195
+ optional: true,
196
+ });
197
+ writtenDescribedBy = inject(new HostAttributeToken('aria-describedby'), {
198
+ optional: true,
199
+ });
200
+ valueTextId = `sl-datetime-field-${String((sequence += 1))}`;
201
+ segments = signal(EMPTY_SEGMENTS, /* @ts-ignore */
202
+ ...(ngDevMode ? [{ debugName: "segments" }] : /* istanbul ignore next */ []));
203
+ formDisabled = signal(undefined, /* @ts-ignore */
204
+ ...(ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []));
205
+ /**
206
+ * What datetime it is, resolved after construction rather than during it, so
207
+ * a server and a browser never disagree about the markup. Nothing is drawn
208
+ * from it: it is the value an empty segment steps to and a duration resolves
209
+ * from.
210
+ */
211
+ clock = signal({
212
+ date: { year: 2000, month: 1, day: 1 },
213
+ time: { hour: 12, minute: 0, second: 0 },
214
+ }, /* @ts-ignore */
215
+ ...(ngDevMode ? [{ debugName: "clock" }] : /* istanbul ignore next */ []));
216
+ activeField = signal(undefined, /* @ts-ignore */
217
+ ...(ngDevMode ? [{ debugName: "activeField" }] : /* istanbul ignore next */ []));
218
+ /** The duration being written, or `null` while the segments are showing. */
219
+ expression = signal(null, /* @ts-ignore */
220
+ ...(ngDevMode ? [{ debugName: "expression" }] : /* istanbul ignore next */ []));
221
+ onChangeFn = () => undefined;
222
+ onTouchedFn = () => undefined;
223
+ onValidatorChangeFn = () => undefined;
224
+ resolvedGranularity = computed(() => this.granularity() ?? this.defaults.granularity, /* @ts-ignore */
225
+ ...(ngDevMode ? [{ debugName: "resolvedGranularity" }] : /* istanbul ignore next */ []));
226
+ resolvedCalendar = computed(() => this.calendar() ?? this.defaults.calendar, /* @ts-ignore */
227
+ ...(ngDevMode ? [{ debugName: "resolvedCalendar" }] : /* istanbul ignore next */ []));
228
+ format = computed(() => {
229
+ const firstDayOfWeek = this.firstDayOfWeek() ?? this.defaults.firstDayOfWeek;
230
+ const yearPivot = this.yearPivot() ?? this.defaults.yearPivot;
231
+ return createDateTimeFormat({
232
+ granularity: this.resolvedGranularity(),
233
+ hourCycle: this.hourCycle() ?? this.defaults.hourCycle,
234
+ locale: this.locale() ?? this.appLocale(),
235
+ ...(firstDayOfWeek === undefined ? {} : { firstDayOfWeek }),
236
+ ...(yearPivot === undefined ? {} : { yearPivot }),
237
+ });
238
+ }, /* @ts-ignore */
239
+ ...(ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []));
240
+ dataCycle = computed(() => (this.format().usesDayPeriod ? '12' : '24'), /* @ts-ignore */
241
+ ...(ngDevMode ? [{ debugName: "dataCycle" }] : /* istanbul ignore next */ []));
242
+ fields = computed(() => this.format()
243
+ .pattern.filter((part) => part.type !== 'literal')
244
+ .map((part) => part.type), /* @ts-ignore */
245
+ ...(ngDevMode ? [{ debugName: "fields" }] : /* istanbul ignore next */ []));
246
+ /**
247
+ * One box per half, and the only place the row is allowed to break.
248
+ *
249
+ * Flexbox breaks a line between any two items and offers no way to forbid one
250
+ * place, so the boundary has to be a box rather than a rule.
251
+ */
252
+ halves = computed(() => {
253
+ const groups = [];
254
+ for (const part of this.format().pattern) {
255
+ const owner = part.half ?? 'date';
256
+ const last = groups[groups.length - 1];
257
+ if (last !== undefined && last.half === owner)
258
+ last.parts.push(part);
259
+ else
260
+ groups.push({ half: owner, parts: [part] });
261
+ }
262
+ return groups;
263
+ }, /* @ts-ignore */
264
+ ...(ngDevMode ? [{ debugName: "halves" }] : /* istanbul ignore next */ []));
265
+ /** What an empty segment steps from, in the shape the engine reads. */
266
+ reference = computed(() => {
267
+ const anchor = this.anchor();
268
+ const shown = this.format().toDisplay(anchor.time.hour);
269
+ return {
270
+ ...anchor.date,
271
+ dayPeriod: shown.dayPeriod ?? 0,
272
+ hour: shown.hour,
273
+ hourCycle: this.format().hourCycle,
274
+ minute: anchor.time.minute,
275
+ second: anchor.time.second,
276
+ };
277
+ }, /* @ts-ignore */
278
+ ...(ngDevMode ? [{ debugName: "reference" }] : /* istanbul ignore next */ []));
279
+ anchor = computed(() => this.referenceDateTime() ?? this.clock(), /* @ts-ignore */
280
+ ...(ngDevMode ? [{ debugName: "anchor" }] : /* istanbul ignore next */ []));
281
+ /** The value the segments make, or `null` while either half is unfinished. */
282
+ dateTime = computed(() => dateTimeOf(this.segments(), this.format()), /* @ts-ignore */
283
+ ...(ngDevMode ? [{ debugName: "dateTime" }] : /* istanbul ignore next */ []));
284
+ /** Which half is still missing, and `null` when none is. */
285
+ incomplete = computed(() => incompleteHalf(this.segments(), this.format()), /* @ts-ignore */
286
+ ...(ngDevMode ? [{ debugName: "incomplete" }] : /* istanbul ignore next */ []));
287
+ iso = computed(() => {
288
+ const value = this.dateTime();
289
+ return value === null ? '' : toISODateTime(value);
290
+ }, /* @ts-ignore */
291
+ ...(ngDevMode ? [{ debugName: "iso" }] : /* istanbul ignore next */ []));
292
+ spokenValue = computed(() => {
293
+ const value = this.dateTime();
294
+ return value === null ? '' : this.format().describe(value);
295
+ }, /* @ts-ignore */
296
+ ...(ngDevMode ? [{ debugName: "spokenValue" }] : /* istanbul ignore next */ []));
297
+ /* ── The duration expression ─────────────────────────────────────────── */
298
+ resolved = computed(() => {
299
+ const written = this.expression();
300
+ if (written === null)
301
+ return null;
302
+ const seconds = parseDuration(written, { units: DATE_TIME_UNITS });
303
+ return seconds === null ? null : resolveRelativeDateTime(this.anchor(), seconds);
304
+ }, /* @ts-ignore */
305
+ ...(ngDevMode ? [{ debugName: "resolved" }] : /* istanbul ignore next */ []));
306
+ /** Whether the expression landed on a different day from the anchor's. */
307
+ rollsDay = computed(() => {
308
+ const step = this.resolved();
309
+ if (step === null)
310
+ return false;
311
+ const from = this.anchor().date;
312
+ return (step.date.year !== from.year || step.date.month !== from.month || step.date.day !== from.day);
313
+ }, /* @ts-ignore */
314
+ ...(ngDevMode ? [{ debugName: "rollsDay" }] : /* istanbul ignore next */ []));
315
+ previewTime = computed(() => {
316
+ const step = this.resolved();
317
+ return step === null ? '' : this.format().time.format(step.time);
318
+ }, /* @ts-ignore */
319
+ ...(ngDevMode ? [{ debugName: "previewTime" }] : /* istanbul ignore next */ []));
320
+ previewDate = computed(() => {
321
+ const step = this.resolved();
322
+ return step === null ? '' : this.format().describeDate(step.date, 'short');
323
+ }, /* @ts-ignore */
324
+ ...(ngDevMode ? [{ debugName: "previewDate" }] : /* istanbul ignore next */ []));
325
+ /* ── What the field around it decides ────────────────────────────────── */
326
+ resolvedSize = computed(() => this.size() ?? this.field?.resolvedSize() ?? this.defaults.size, /* @ts-ignore */
327
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
328
+ resolvedVariant = computed(() => this.variant() ?? this.defaults.variant, /* @ts-ignore */
329
+ ...(ngDevMode ? [{ debugName: "resolvedVariant" }] : /* istanbul ignore next */ []));
330
+ resolvedDisabled = computed(() => this.disabled() ?? this.formDisabled() ?? this.field?.resolvedDisabled(), /* @ts-ignore */
331
+ ...(ngDevMode ? [{ debugName: "resolvedDisabled" }] : /* istanbul ignore next */ []));
332
+ resolvedReadOnly = computed(() => this.readOnly() ?? this.field?.resolvedReadOnly(), /* @ts-ignore */
333
+ ...(ngDevMode ? [{ debugName: "resolvedReadOnly" }] : /* istanbul ignore next */ []));
334
+ resolvedRequired = computed(() => this.required() ?? this.field?.required(), /* @ts-ignore */
335
+ ...(ngDevMode ? [{ debugName: "resolvedRequired" }] : /* istanbul ignore next */ []));
336
+ /**
337
+ * Validity the family owns, beside the validity the consumer states.
338
+ *
339
+ * Both pairs of bounds apply at once — the whole-value one and the window
340
+ * that repeats on every day — which is the combination MUI's own validation
341
+ * page records that it cannot ship.
342
+ */
343
+ resolvedInvalid = computed(() => {
344
+ const value = this.dateTime();
345
+ if (value !== null && this.refuses(value))
346
+ return true;
347
+ return this.invalid() ?? this.field?.invalid();
348
+ }, /* @ts-ignore */
349
+ ...(ngDevMode ? [{ debugName: "resolvedInvalid" }] : /* istanbul ignore next */ []));
350
+ controlId = computed(() => this.writtenId ?? this.field?.ids().control ?? null, /* @ts-ignore */
351
+ ...(ngDevMode ? [{ debugName: "controlId" }] : /* istanbul ignore next */ []));
352
+ labelledBy = computed(() => {
353
+ if (this.label() !== undefined || this.writtenLabel !== null)
354
+ return null;
355
+ const merged = [this.writtenLabelledBy ?? this.field?.ids().label, this.valueTextId].filter(Boolean);
356
+ return merged.length === 0 ? null : merged.join(' ');
357
+ }, /* @ts-ignore */
358
+ ...(ngDevMode ? [{ debugName: "labelledBy" }] : /* istanbul ignore next */ []));
359
+ describedBy = computed(() => {
360
+ const merged = [this.writtenDescribedBy, this.field?.describedBy()].filter(Boolean);
361
+ return merged.length === 0 ? null : merged.join(' ');
362
+ }, /* @ts-ignore */
363
+ ...(ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []));
364
+ ariaInvalid = computed(() => this.resolvedInvalid() === true ? 'true' : null, /* @ts-ignore */
365
+ ...(ngDevMode ? [{ debugName: "ariaInvalid" }] : /* istanbul ignore next */ []));
366
+ ariaRequired = computed(() => this.resolvedRequired() === true ? 'true' : null, /* @ts-ignore */
367
+ ...(ngDevMode ? [{ debugName: "ariaRequired" }] : /* istanbul ignore next */ []));
368
+ ariaReadonly = computed(() => this.resolvedReadOnly() === true ? 'true' : null, /* @ts-ignore */
369
+ ...(ngDevMode ? [{ debugName: "ariaReadonly" }] : /* istanbul ignore next */ []));
370
+ ariaDisabled = computed(() => this.resolvedDisabled() === true ? 'true' : null, /* @ts-ignore */
371
+ ...(ngDevMode ? [{ debugName: "ariaDisabled" }] : /* istanbul ignore next */ []));
372
+ editable = computed(() => this.resolvedDisabled() !== true && this.resolvedReadOnly() !== true, /* @ts-ignore */
373
+ ...(ngDevMode ? [{ debugName: "editable" }] : /* istanbul ignore next */ []));
374
+ showClear = computed(() => {
375
+ if (!this.clearable() || !this.editable() || this.expression() !== null)
376
+ return false;
377
+ const held = this.segments();
378
+ return this.fields().some((name) => held[name] !== null);
379
+ }, /* @ts-ignore */
380
+ ...(ngDevMode ? [{ debugName: "showClear" }] : /* istanbul ignore next */ []));
381
+ constructor() {
382
+ /**
383
+ * A consumer's own value writes the segments, and only when it names a
384
+ * different value: written on every change detection it would throw away a
385
+ * half-typed value on the keystroke that completes a different one.
386
+ */
387
+ effect(() => {
388
+ const next = this.value();
389
+ if (next === undefined)
390
+ return;
391
+ const segments = this.segments();
392
+ /* A run of digits still being typed is not a value the consumer refused:
393
+ with a controlled `null`, the first minute digit after a whole hour
394
+ read as a time the consumer had not written back, and the segments
395
+ were reset under the reader's fingers. Found by `time-range-picker`,
396
+ which binds the field to its work. */
397
+ if (segments.typing !== null)
398
+ return;
399
+ if (isSameDateTime(dateTimeOf(segments, this.format()), next))
400
+ return;
401
+ this.segments.set(segmentsOfDateTime(next, this.format()));
402
+ });
403
+ /* The expression region is focused the moment it replaces the segments,
404
+ with the caret after the character that opened it. */
405
+ effect(() => {
406
+ if (this.expression() === null)
407
+ return;
408
+ queueMicrotask(() => {
409
+ const input = this.element.querySelector('[data-part="duration"]');
410
+ if (input === null)
411
+ return;
412
+ input.focus();
413
+ input.setSelectionRange(input.value.length, input.value.length);
414
+ });
415
+ });
416
+ }
417
+ ngOnInit() {
418
+ this.segments.set(segmentsOfDateTime(this.value() ?? this.defaultValue() ?? null, this.format()));
419
+ this.clock.set(nowDateTimeIn(this.timeZone() ?? this.defaults.timeZone));
420
+ }
421
+ /* ── The value ───────────────────────────────────────────────────────── */
422
+ writeValue(value) {
423
+ this.segments.set(segmentsOfDateTime(value ?? null, this.format()));
424
+ }
425
+ registerOnChange(fn) {
426
+ this.onChangeFn = fn;
427
+ }
428
+ registerOnTouched(fn) {
429
+ this.onTouchedFn = fn;
430
+ }
431
+ setDisabledState(isDisabled) {
432
+ this.formDisabled.set(isDisabled);
433
+ }
434
+ registerOnValidatorChange(fn) {
435
+ this.onValidatorChangeFn = fn;
436
+ }
437
+ /**
438
+ * The rules no other validator can see, and one no surveyed implementation
439
+ * reports at all.
440
+ *
441
+ * `dateTimeIncomplete` is that one: a reader who wrote a day and left is not
442
+ * an empty control, and a form that says "required" there is answering a
443
+ * different question. `required` itself is left to Angular's own, because a
444
+ * form already has a word for it and two would disagree.
445
+ */
446
+ validate(control) {
447
+ const value = control.value;
448
+ if (value === null || value === undefined) {
449
+ const half = this.incomplete();
450
+ return half === null ? null : { slottedDateTimeIncomplete: { missing: half } };
451
+ }
452
+ const min = this.min();
453
+ const max = this.max();
454
+ if (!isDateTimeInRange(value, min, max)) {
455
+ return { slottedDateTimeRange: { min, max, actual: value } };
456
+ }
457
+ const window = dayWindow(value.date, {
458
+ max,
459
+ maxTime: this.maxTime(),
460
+ min,
461
+ minTime: this.minTime(),
462
+ });
463
+ if (window === null || !isTimeInRange(value.time, window.earliest, window.latest)) {
464
+ return { slottedDateTimeWindow: { actual: value } };
465
+ }
466
+ if (this.isDateUnavailable()?.(value.date) === true ||
467
+ this.isTimeUnavailable()?.(value.time, value.date) === true) {
468
+ return { slottedDateTimeUnavailable: { actual: value } };
469
+ }
470
+ return null;
471
+ }
472
+ /** Puts focus on the first segment, which is where typing starts. */
473
+ focus() {
474
+ const first = this.fields()[0];
475
+ if (first !== undefined)
476
+ this.focusField(first);
477
+ }
478
+ /**
479
+ * Where a press on the frame puts the reader: the first field still waiting
480
+ * for a value, and the first field of the value when none is.
481
+ */
482
+ focusEntry() {
483
+ const held = this.segments();
484
+ const empty = this.fields().find((name) => held[name] === null);
485
+ const target = empty ?? this.fields()[0];
486
+ if (target !== undefined)
487
+ this.focusField(target);
488
+ }
489
+ onRootMouseDown(event) {
490
+ const target = event.target;
491
+ if (target?.closest('[data-part="segment"], button, a, input, select, textarea') != null) {
492
+ return;
493
+ }
494
+ event.preventDefault();
495
+ if (this.expression() === null)
496
+ this.focusEntry();
497
+ }
498
+ /**
499
+ * Safari does not focus a `div` on a press even when it carries a
500
+ * `tabindex`, so the press says so itself rather than relying on it.
501
+ */
502
+ onSegmentMouseDown(event) {
503
+ event.preventDefault();
504
+ event.currentTarget.focus();
505
+ }
506
+ /** Empties both halves at once, with the `clear` reason. */
507
+ clear(source) {
508
+ this.commit(EMPTY_SEGMENTS, 'clear', source);
509
+ this.focus();
510
+ }
511
+ /* ── The keyboard ────────────────────────────────────────────────────── */
512
+ /**
513
+ * A key the field acted on is the field's, and nothing above it sees it. A
514
+ * `div` with `role="spinbutton"` is invisible to every "is the target
515
+ * editable" guard an application writes, and `preventDefault` alone does not
516
+ * help: a shortcut handler reads the key, not the default.
517
+ */
518
+ consume(event) {
519
+ event.preventDefault();
520
+ event.stopPropagation();
521
+ }
522
+ /**
523
+ * The keys are handled on the host rather than on each segment, so a
524
+ * consumer's own `(keydown)` on the same element still runs before the family
525
+ * stops the event — which is the composition React gets by calling the
526
+ * consumer's handler first.
527
+ */
528
+ onKeyDown(event) {
529
+ const segment = event.target?.closest('[data-part="segment"]');
530
+ const name = segment?.dataset['field'];
531
+ if (name === undefined)
532
+ return;
533
+ /* An inline direction is a physical pair of keys and a logical order, so
534
+ the arrow that walks forward is the one pointing along the writing
535
+ direction rather than the one pointing right. It walks the whole row,
536
+ across the boundary between the halves. */
537
+ const rtl = getComputedStyle(this.element).direction === 'rtl';
538
+ const forward = rtl ? 'ArrowLeft' : 'ArrowRight';
539
+ const backward = rtl ? 'ArrowRight' : 'ArrowLeft';
540
+ if (event.key === forward) {
541
+ this.consume(event);
542
+ this.moveBy(name, 1);
543
+ return;
544
+ }
545
+ if (event.key === backward) {
546
+ this.consume(event);
547
+ this.moveBy(name, -1);
548
+ return;
549
+ }
550
+ if (!this.editable())
551
+ return;
552
+ /**
553
+ * `Alt` with an arrow is not this control's chord. `datetime-picker` opens
554
+ * its panel with `Alt`+`ArrowDown`, and a segment that stepped on it would
555
+ * eat the only shortcut the surface has.
556
+ */
557
+ if (event.altKey)
558
+ return;
559
+ if ((this.relative() ?? this.defaults.relative) && isRelativeKey(event.key)) {
560
+ this.consume(event);
561
+ this.expression.set(event.key);
562
+ return;
563
+ }
564
+ const held = this.segments();
565
+ const reference = this.reference();
566
+ switch (event.key) {
567
+ case 'ArrowUp':
568
+ this.consume(event);
569
+ this.commit(stepSegment(held, name, 1, reference), 'keyboard', event);
570
+ return;
571
+ case 'ArrowDown':
572
+ this.consume(event);
573
+ this.commit(stepSegment(held, name, -1, reference), 'keyboard', event);
574
+ return;
575
+ case 'PageUp':
576
+ this.consume(event);
577
+ this.commit(stepSegment(held, name, PAGE_STEP[name], reference), 'keyboard', event);
578
+ return;
579
+ case 'PageDown':
580
+ this.consume(event);
581
+ this.commit(stepSegment(held, name, -PAGE_STEP[name], reference), 'keyboard', event);
582
+ return;
583
+ case 'Home':
584
+ this.consume(event);
585
+ this.commit(boundSegment(held, name, 'min', reference), 'keyboard', event);
586
+ return;
587
+ case 'End':
588
+ this.consume(event);
589
+ this.commit(boundSegment(held, name, 'max', reference), 'keyboard', event);
590
+ return;
591
+ case 'Backspace':
592
+ case 'Delete':
593
+ this.consume(event);
594
+ this.commit(clearSegment(held, name), 'clear', event);
595
+ return;
596
+ default:
597
+ break;
598
+ }
599
+ /* The day period holds two words rather than digits, and the platform's own
600
+ control takes it by the first letter of either. */
601
+ if (name === 'dayPeriod' && /^\p{L}$/u.test(event.key)) {
602
+ const typed = typeDayPeriod(held, event.key, this.format().time);
603
+ if (typed === null)
604
+ return;
605
+ this.consume(event);
606
+ this.commit(typed.segments, 'keyboard', event);
607
+ if (typed.advance)
608
+ this.moveBy(name, 1);
609
+ return;
610
+ }
611
+ if (/^\d$/.test(event.key)) {
612
+ this.consume(event);
613
+ const typed = typeDigit(held, name, Number(event.key), this.format().time, reference);
614
+ this.commit(typed.segments, 'keyboard', event);
615
+ if (typed.advance)
616
+ this.moveBy(name, 1);
617
+ }
618
+ }
619
+ onExpressionInput(event) {
620
+ this.expression.set(event.target.value);
621
+ }
622
+ onExpressionKeyDown(event) {
623
+ if (event.key === 'Enter') {
624
+ /* An expression inside a form must not submit it: `Enter` is this
625
+ control's commit and nothing above it needs to hear the key. */
626
+ this.consume(event);
627
+ this.commitExpression(event);
628
+ this.focus();
629
+ return;
630
+ }
631
+ if (event.key === 'Escape') {
632
+ /* Abandoned whole, and the segments come back exactly as they were. The
633
+ key is stopped so an overlay above does not close on the same press —
634
+ the field takes it first while an expression is open, which is the
635
+ staging `datetime-picker` depends on. */
636
+ this.consume(event);
637
+ this.expression.set(null);
638
+ this.focus();
639
+ }
640
+ }
641
+ /** Commits the expression when it resolves, and abandons it when it does not. */
642
+ commitExpression(source) {
643
+ const step = this.resolved();
644
+ if (step === null) {
645
+ this.expression.set(null);
646
+ return;
647
+ }
648
+ this.commit(segmentsOfDateTime(step, this.format()), 'keyboard', source);
649
+ this.expression.set(null);
650
+ }
651
+ /**
652
+ * A whole value, pasted. The locale's shape is read first and ISO 8601 after
653
+ * it; text that is neither but reads as a duration opens the expression, so
654
+ * pasting `+2d` does what typing it does.
655
+ */
656
+ onPaste(event) {
657
+ if (!this.editable())
658
+ return;
659
+ const text = event.clipboardData?.getData('text/plain') ?? '';
660
+ const parsed = this.format().parse(text);
661
+ if (parsed !== null) {
662
+ event.preventDefault();
663
+ this.commit(segmentsOfDateTime(parsed, this.format()), 'keyboard', event);
664
+ return;
665
+ }
666
+ if ((this.relative() ?? this.defaults.relative) &&
667
+ parseDuration(text, { units: DATE_TIME_UNITS }) !== null) {
668
+ event.preventDefault();
669
+ this.expression.set(text.trim());
670
+ }
671
+ }
672
+ /** A run of typed digits ends when focus leaves. */
673
+ onBlur() {
674
+ this.activeField.set(undefined);
675
+ this.onTouchedFn();
676
+ const held = this.segments();
677
+ if (held.typing === null)
678
+ return;
679
+ this.commit(commitTyping(held, this.format().time, this.reference()), 'blur', undefined);
680
+ }
681
+ /* ── What the template reads ─────────────────────────────────────────── */
682
+ halfOf(field) {
683
+ return halfOfField(field);
684
+ }
685
+ valueOf(field) {
686
+ return this.segments()[field];
687
+ }
688
+ /**
689
+ * The day's own maximum is the month's, which is why the range is asked with
690
+ * the year and the month rather than assumed to be 31.
691
+ */
692
+ rangeOf(field) {
693
+ const held = this.segments();
694
+ return fieldRange(field, {
695
+ hourCycle: this.format().hourCycle,
696
+ ...(held.month === null ? {} : { month: held.month }),
697
+ ...(held.year === null ? {} : { year: held.year }),
698
+ });
699
+ }
700
+ /**
701
+ * What a reader hears instead of the number. The day period is why it is not
702
+ * optional: `aria-valuenow` there is `0` or `1`, which is not a name in any
703
+ * language — and a month reads better as its own name than as a number.
704
+ */
705
+ spokenOf(field) {
706
+ const raw = this.segments()[field];
707
+ if (raw === null)
708
+ return null;
709
+ if (field === 'dayPeriod')
710
+ return this.format().dayPeriodNames()[raw === 1 ? 1 : 0];
711
+ if (field === 'month')
712
+ return this.format().date.monthNames('long')[raw - 1] ?? String(raw);
713
+ return String(raw);
714
+ }
715
+ /**
716
+ * What one field shows. A finished value is padded to the field's width so
717
+ * the columns hold their place; a value still being typed is not, because a
718
+ * padded run shows numbers nobody typed.
719
+ */
720
+ textOf(field) {
721
+ const held = this.segments();
722
+ const raw = held[field];
723
+ if (raw === null) {
724
+ return this.format().pattern.find((part) => part.type === field)?.value ?? '';
725
+ }
726
+ const typing = held.typing;
727
+ if (typing !== null && typing.field === field) {
728
+ return String(raw).padStart(typing.digits, '0');
729
+ }
730
+ return this.format().formatValue(raw, field);
731
+ }
732
+ /** Exactly one segment is in the tab sequence, which is the roving model. */
733
+ tabIndexOf(field) {
734
+ if (this.resolvedDisabled() === true)
735
+ return -1;
736
+ return field === (this.activeField() ?? this.fields()[0]) ? 0 : -1;
737
+ }
738
+ /* ── The machinery ───────────────────────────────────────────────────── */
739
+ /** Whether both pairs of bounds, or either predicate, refuse a whole value. */
740
+ refuses(value) {
741
+ const min = this.min();
742
+ const max = this.max();
743
+ if (!isDateTimeInRange(value, min, max))
744
+ return true;
745
+ const window = dayWindow(value.date, {
746
+ max,
747
+ maxTime: this.maxTime(),
748
+ min,
749
+ minTime: this.minTime(),
750
+ });
751
+ if (window === null || !isTimeInRange(value.time, window.earliest, window.latest))
752
+ return true;
753
+ return (this.isDateUnavailable()?.(value.date) === true ||
754
+ this.isTimeUnavailable()?.(value.time, value.date) === true);
755
+ }
756
+ focusField(name) {
757
+ this.activeField.set(name);
758
+ this.element.querySelector(`[data-part="segment"][data-field="${name}"]`)?.focus();
759
+ }
760
+ moveBy(name, step) {
761
+ const next = this.fields()[this.fields().indexOf(name) + step];
762
+ if (next !== undefined)
763
+ this.focusField(next);
764
+ }
765
+ /**
766
+ * Moves the segments, and asks before the derived value moves with them.
767
+ *
768
+ * A run of typed digits moves the display and not the value: typing `23` into
769
+ * an hour passes through `2` on the way, and `2` is a time the arithmetic
770
+ * accepts and nobody meant. The request is emitted when the run ends.
771
+ */
772
+ commit(next, reason, source) {
773
+ const previous = this.dateTime();
774
+ this.segments.set(next);
775
+ if (next.typing !== null)
776
+ return;
777
+ const nextValue = dateTimeOf(next, this.format());
778
+ let cancelled = false;
779
+ const state = createControllable({
780
+ controlled: undefined,
781
+ initial: previous,
782
+ equals: isSameDateTime,
783
+ onRequest: (request) => {
784
+ this.valueChange.emit({
785
+ ...request,
786
+ incomplete: incompleteHalf(next, this.format()),
787
+ segments: next,
788
+ });
789
+ cancelled = request.cancelled;
790
+ },
791
+ });
792
+ state.request(nextValue, reason, source);
793
+ if (cancelled)
794
+ return;
795
+ this.onChangeFn(nextValue);
796
+ this.onValidatorChangeFn();
797
+ }
798
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlDateTimeField, deps: [], target: i0.ɵɵFactoryTarget.Component });
799
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: SlDateTimeField, isStandalone: true, selector: "[slDateTimeField]", 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 }, minTime: { classPropertyName: "minTime", publicName: "minTime", isSignal: true, isRequired: false, transformFunction: null }, maxTime: { classPropertyName: "maxTime", publicName: "maxTime", isSignal: true, isRequired: false, transformFunction: null }, isDateUnavailable: { classPropertyName: "isDateUnavailable", publicName: "isDateUnavailable", 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 }, calendar: { classPropertyName: "calendar", publicName: "calendar", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "firstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, yearPivot: { classPropertyName: "yearPivot", publicName: "yearPivot", isSignal: true, isRequired: false, transformFunction: null }, referenceDateTime: { classPropertyName: "referenceDateTime", publicName: "referenceDateTime", 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": "datetime-field", "data-part": "root" }, listeners: { "mousedown": "onRootMouseDown($event)", "keydown": "onKeyDown($event)" }, properties: { "attr.data-size": "resolvedSize()", "attr.data-variant": "resolvedVariant()", "attr.data-calendar": "resolvedCalendar()", "attr.data-cycle": "dataCycle()", "attr.data-granularity": "resolvedGranularity()", "attr.data-incomplete": "incomplete()", "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: [
800
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SlDateTimeField), multi: true },
801
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => SlDateTimeField), multi: true },
802
+ ], exportAs: ["slDateTimeField"], ngImport: i0, template: `<ng-content select="[slDateTimeFieldStart]" />
803
+ @if (expression() !== null) {
804
+ <input
805
+ #duration
806
+ data-part="duration"
807
+ type="text"
808
+ placeholder="+40m, 1h30, +2d"
809
+ [attr.aria-label]="t('duration')"
810
+ [attr.aria-describedby]="describedBy()"
811
+ [value]="expression()"
812
+ (input)="onExpressionInput($event)"
813
+ (keydown)="onExpressionKeyDown($event)"
814
+ (blur)="commitExpression()"
815
+ />
816
+ <span
817
+ data-part="preview"
818
+ role="status"
819
+ aria-live="polite"
820
+ [attr.data-resolved]="resolved() === null ? null : ''"
821
+ [attr.data-rolls-day]="rollsDay() ? '' : null"
822
+ >
823
+ <span slIcon directional><svg slGlyph name="chevron-right"></svg></span>
824
+ @if (rollsDay()) {
825
+ <span data-part="preview-date">{{ previewDate() }}</span
826
+ >, {{ previewTime() }}
827
+ } @else {
828
+ {{ previewTime() }}
829
+ }
830
+ </span>
831
+ } @else {
832
+ <div
833
+ data-part="segments"
834
+ role="group"
835
+ [attr.id]="controlId()"
836
+ [attr.aria-label]="label() ?? writtenLabel"
837
+ [attr.aria-labelledby]="labelledBy()"
838
+ [attr.aria-describedby]="describedBy()"
839
+ [attr.aria-invalid]="ariaInvalid()"
840
+ [attr.aria-required]="ariaRequired()"
841
+ [attr.aria-readonly]="ariaReadonly()"
842
+ [attr.aria-disabled]="ariaDisabled()"
843
+ (paste)="onPaste($event)"
844
+ >
845
+ @for (group of halves(); track group.half) {
846
+ <span data-part="half" [attr.data-half]="group.half">
847
+ @for (part of group.parts; track $index) {
848
+ @if (part.type === 'literal') {
849
+ @if (part.boundary !== true || part.drawn !== false) {
850
+ <span
851
+ data-part="literal"
852
+ aria-hidden="true"
853
+ [attr.data-boundary]="part.boundary === true ? '' : null"
854
+ >{{ part.value }}</span
855
+ >
856
+ }
857
+ } @else {
858
+ <div
859
+ data-part="segment"
860
+ role="spinbutton"
861
+ [attr.data-field]="part.type"
862
+ [attr.data-half]="halfOf(part.type)"
863
+ [attr.data-placeholder]="valueOf(part.type) === null ? '' : null"
864
+ [attr.aria-label]="part.value"
865
+ [attr.aria-valuenow]="valueOf(part.type)"
866
+ [attr.aria-valuemin]="rangeOf(part.type).min"
867
+ [attr.aria-valuemax]="rangeOf(part.type).max"
868
+ [attr.aria-valuetext]="spokenOf(part.type)"
869
+ [attr.aria-disabled]="ariaDisabled()"
870
+ [attr.aria-readonly]="ariaReadonly()"
871
+ [tabindex]="tabIndexOf(part.type)"
872
+ (mousedown)="onSegmentMouseDown($event)"
873
+ (focus)="activeField.set(part.type)"
874
+ (blur)="onBlur()"
875
+ >
876
+ {{ textOf(part.type) }}
877
+ </div>
878
+ }
879
+ }
880
+ </span>
881
+ }
882
+ </div>
883
+ }
884
+ <span data-part="value-text" hidden [attr.id]="valueTextId">{{ spokenValue() }}</span>
885
+ @if (showClear()) {
886
+ <button
887
+ data-part="clear"
888
+ type="button"
889
+ [attr.aria-label]="t('clear')"
890
+ (click)="clear($event)"
891
+ >
892
+ <span slIcon><svg slGlyph name="x"></svg></span>
893
+ </button>
894
+ }
895
+ <ng-content select="[slDateTimeFieldEnd]" />
896
+ <input data-part="hidden-input" type="hidden" readonly [attr.name]="name()" [value]="iso()" />`, isInline: true, styles: ["@layer slotted.components{[data-ui=datetime-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-datetime-field-icon-size-min, 14px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-md, 16px));--_half-gap: var(--slotted-datetime-field-half-gap, var(--slotted-space-3, .375rem));--_action-size: var( --slotted-datetime-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-datetime-field-background, var(--slotted-control-surface, Field) );border:var(--slotted-control-border-width, 1px) solid var(--slotted-datetime-field-border-color, var(--slotted-control-border-color, ButtonBorder));border-radius:var(--slotted-datetime-field-radius, var(--slotted-control-radius, 4px));box-shadow:var(--slotted-datetime-field-shadow, var(--slotted-control-shadow, none));box-sizing:border-box;color:var(--slotted-datetime-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);padding-block:var(--slotted-datetime-field-padding-block, var(--slotted-space-1, .125rem));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=datetime-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=datetime-field] [data-part=segments]{align-items:center;column-gap:var(--_half-gap);cursor:text;display:flex;flex:1 1 auto;min-inline-size:0;overflow:hidden}[data-ui=datetime-field] [data-part=half]{align-items:center;direction:ltr;display:flex;flex:0 0 auto;font-variant-numeric:tabular-nums;unicode-bidi:isolate}[data-ui=datetime-field] [data-part=segments]:dir(rtl){justify-content:flex-end}[data-ui=datetime-field] [data-part=segment]{--_digits: 2;background-color:transparent;border-radius:var(--slotted-datetime-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-datetime-field-segment-min-inline-size, calc(var(--_digits) * 1ch) );padding-inline:var( --slotted-datetime-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=datetime-field] [data-part=segment][data-field=year]{--_digits: 4}[data-ui=datetime-field] [data-part=segment][data-field=dayPeriod]{font-variant-numeric:normal;min-inline-size:var(--slotted-datetime-field-period-min-inline-size, 2ch);text-transform:none;white-space:nowrap}[data-ui=datetime-field] [data-part=segment][data-placeholder]{color:var(--slotted-datetime-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=datetime-field] [data-part=literal]{color:var(--slotted-datetime-field-literal-color, var(--slotted-text-muted, GrayText));flex:0 0 auto;unicode-bidi:plaintext;-webkit-user-select:none;user-select:none}[data-ui=datetime-field] [data-part=literal][data-boundary]{margin-inline-end:0}[data-ui=datetime-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=datetime-field] [data-part=duration]:dir(rtl){text-align:right}[data-ui=datetime-field] [data-part=duration]::placeholder{color:var(--slotted-datetime-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=datetime-field] [data-part=preview]{--_mark: 1cap;color:var(--slotted-datetime-field-preview-color, var(--slotted-tone-accent-text));display:block;flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap;unicode-bidi:plaintext}[data-ui=datetime-field] [data-part=preview]>[data-ui=icon]{--slotted-icon-size: var(--_mark);margin-inline:var(--slotted-space-1, .125rem);vertical-align:calc((((1cap + 1ex) / 2) - var(--_mark)) / 2)}[data-ui=datetime-field] [data-part=preview][data-rolls-day]>[data-part=preview-date]{color:var(--slotted-datetime-field-preview-day-color, var(--slotted-tone-accent-text));font-weight:var(--slotted-font-weight-semibold, 600)}[data-ui=datetime-field][data-part=root][data-relative]{border-color:var( --slotted-datetime-field-relative-border-color, var(--slotted-tone-accent-border) )}[data-ui=datetime-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=datetime-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=datetime-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=datetime-field][data-part=root][data-variant=subtle]{background-color:var( --slotted-datetime-field-subtle-background, var(--slotted-surface-sunken, Canvas) );border-color:var( --slotted-datetime-field-subtle-border-color, var(--slotted-border-subtle, ButtonBorder) )}[data-ui=datetime-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=datetime-field]>[data-part=start],[data-ui=datetime-field]>[data-part=end]{--slotted-icon-size: var(--_icon-size);align-items:center;color:var(--slotted-datetime-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=datetime-field]>[data-part=start]>svg,[data-ui=datetime-field]>[data-part=end]>svg{block-size:var(--_icon-size);inline-size:var(--_icon-size)}[data-ui=datetime-field]>[data-part=clear]{align-items:center;appearance:none;background-color:transparent;block-size:var(--_action-size);border:0;border-radius:var(--slotted-datetime-field-radius, var(--slotted-control-radius, 4px));color:var(--slotted-datetime-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=datetime-field]>[data-part=clear]:after{content:\"\";inset:min(0px,calc((100% - var(--slotted-target-min, 24px)) / 2));position:absolute}@media(pointer:coarse){[data-ui=datetime-field]>[data-part=clear]:after{inset:min(0px,calc((100% - var(--slotted-target-comfortable, 44px)) / 2))}[data-ui=datetime-field]>[data-part=end]+[data-part=clear]:after{inset-inline-start:0}}[data-ui=datetime-field]>[data-part=clear]{--slotted-icon-size: var(--_icon-size)}[data-ui=datetime-field]>[data-part=clear]:hover:not(:disabled):not([data-disabled]){background-color:var( --slotted-datetime-field-action-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=datetime-field]>[data-part=clear]:active:not(:disabled):not([data-disabled]){background-color:var( --slotted-datetime-field-action-active-background, var(--slotted-tone-secondary-subtle-active) )}[data-ui=datetime-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=datetime-field][data-part=root]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]):not([data-incomplete]){border-color:var( --slotted-datetime-field-hover-border-color, var(--slotted-tone-accent-border) )}[data-ui=datetime-field][data-part=root][data-variant=subtle]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-datetime-field-subtle-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=datetime-field][data-part=root][data-variant=plain]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-datetime-field-plain-hover-background, var(--slotted-tone-secondary-subtle-hover) );border-color:transparent}[data-ui=datetime-field][data-part=root][data-incomplete]:not([data-disabled]):not([data-readonly]):not([data-invalid]):not(:focus-within){border-color:var( --slotted-datetime-field-incomplete-border-color, var(--slotted-tone-warning-border) )}[data-ui=datetime-field][data-part=root]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-variant=plain]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field] [data-part=segment]:focus{background-color:var( --slotted-datetime-field-segment-focus-background, var(--slotted-tone-accent-solid) );color:var(--slotted-datetime-field-segment-focus-color, var(--slotted-tone-accent-on-solid));outline:none}[data-ui=datetime-field][data-part=root][data-invalid]{--slotted-focus-ring-color: var( --slotted-datetime-field-invalid-focus-ring-color, var(--slotted-focus-ring-color-invalid, Highlight) );--_invalid-edge-width: var( --slotted-datetime-field-invalid-edge-width, var(--slotted-control-invalid-edge-width, 1px) );--_invalid-edge-color: var( --slotted-datetime-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-datetime-field-invalid-border-color, var(--slotted-tone-danger-border) );box-shadow:var(--_invalid-edge)}[data-ui=datetime-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-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=datetime-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-readonly],[data-ui=datetime-field][data-part=root][data-readonly] [data-part=segments],[data-ui=datetime-field][data-part=root][data-readonly] [data-part=segment]{cursor:default}[data-ui=datetime-field][data-part=root][data-readonly]{background-color:var( --slotted-datetime-field-readonly-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=datetime-field][data-part=root][data-disabled]{background-color:var( --slotted-datetime-field-disabled-background, var(--slotted-disabled-background) );border-color:var( --slotted-datetime-field-disabled-border-color, var(--slotted-disabled-border) );box-shadow:none;color:var(--slotted-datetime-field-disabled-color, var(--slotted-disabled-foreground));cursor:not-allowed}[data-ui=datetime-field][data-part=root][data-disabled] [data-part=segments],[data-ui=datetime-field][data-part=root][data-disabled] [data-part=segment]{cursor:not-allowed}[data-ui=datetime-field][data-part=root][data-disabled]>[data-part=start],[data-ui=datetime-field][data-part=root][data-disabled]>[data-part=end],[data-ui=datetime-field][data-part=root][data-disabled] [data-part=literal],[data-ui=datetime-field][data-part=root][data-disabled] [data-part=segment][data-placeholder]{color:var(--slotted-disabled-foreground)}@media(forced-colors:active){[data-ui=datetime-field][data-part=root][data-variant=plain]{border-color:ButtonBorder}[data-ui=datetime-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 });
897
+ }
898
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlDateTimeField, decorators: [{
899
+ type: Component,
900
+ args: [{ selector: '[slDateTimeField]', standalone: true, exportAs: 'slDateTimeField', imports: [SlGlyph, SlIcon], template: `<ng-content select="[slDateTimeFieldStart]" />
901
+ @if (expression() !== null) {
902
+ <input
903
+ #duration
904
+ data-part="duration"
905
+ type="text"
906
+ placeholder="+40m, 1h30, +2d"
907
+ [attr.aria-label]="t('duration')"
908
+ [attr.aria-describedby]="describedBy()"
909
+ [value]="expression()"
910
+ (input)="onExpressionInput($event)"
911
+ (keydown)="onExpressionKeyDown($event)"
912
+ (blur)="commitExpression()"
913
+ />
914
+ <span
915
+ data-part="preview"
916
+ role="status"
917
+ aria-live="polite"
918
+ [attr.data-resolved]="resolved() === null ? null : ''"
919
+ [attr.data-rolls-day]="rollsDay() ? '' : null"
920
+ >
921
+ <span slIcon directional><svg slGlyph name="chevron-right"></svg></span>
922
+ @if (rollsDay()) {
923
+ <span data-part="preview-date">{{ previewDate() }}</span
924
+ >, {{ previewTime() }}
925
+ } @else {
926
+ {{ previewTime() }}
927
+ }
928
+ </span>
929
+ } @else {
930
+ <div
931
+ data-part="segments"
932
+ role="group"
933
+ [attr.id]="controlId()"
934
+ [attr.aria-label]="label() ?? writtenLabel"
935
+ [attr.aria-labelledby]="labelledBy()"
936
+ [attr.aria-describedby]="describedBy()"
937
+ [attr.aria-invalid]="ariaInvalid()"
938
+ [attr.aria-required]="ariaRequired()"
939
+ [attr.aria-readonly]="ariaReadonly()"
940
+ [attr.aria-disabled]="ariaDisabled()"
941
+ (paste)="onPaste($event)"
942
+ >
943
+ @for (group of halves(); track group.half) {
944
+ <span data-part="half" [attr.data-half]="group.half">
945
+ @for (part of group.parts; track $index) {
946
+ @if (part.type === 'literal') {
947
+ @if (part.boundary !== true || part.drawn !== false) {
948
+ <span
949
+ data-part="literal"
950
+ aria-hidden="true"
951
+ [attr.data-boundary]="part.boundary === true ? '' : null"
952
+ >{{ part.value }}</span
953
+ >
954
+ }
955
+ } @else {
956
+ <div
957
+ data-part="segment"
958
+ role="spinbutton"
959
+ [attr.data-field]="part.type"
960
+ [attr.data-half]="halfOf(part.type)"
961
+ [attr.data-placeholder]="valueOf(part.type) === null ? '' : null"
962
+ [attr.aria-label]="part.value"
963
+ [attr.aria-valuenow]="valueOf(part.type)"
964
+ [attr.aria-valuemin]="rangeOf(part.type).min"
965
+ [attr.aria-valuemax]="rangeOf(part.type).max"
966
+ [attr.aria-valuetext]="spokenOf(part.type)"
967
+ [attr.aria-disabled]="ariaDisabled()"
968
+ [attr.aria-readonly]="ariaReadonly()"
969
+ [tabindex]="tabIndexOf(part.type)"
970
+ (mousedown)="onSegmentMouseDown($event)"
971
+ (focus)="activeField.set(part.type)"
972
+ (blur)="onBlur()"
973
+ >
974
+ {{ textOf(part.type) }}
975
+ </div>
976
+ }
977
+ }
978
+ </span>
979
+ }
980
+ </div>
981
+ }
982
+ <span data-part="value-text" hidden [attr.id]="valueTextId">{{ spokenValue() }}</span>
983
+ @if (showClear()) {
984
+ <button
985
+ data-part="clear"
986
+ type="button"
987
+ [attr.aria-label]="t('clear')"
988
+ (click)="clear($event)"
989
+ >
990
+ <span slIcon><svg slGlyph name="x"></svg></span>
991
+ </button>
992
+ }
993
+ <ng-content select="[slDateTimeFieldEnd]" />
994
+ <input data-part="hidden-input" type="hidden" readonly [attr.name]="name()" [value]="iso()" />`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
995
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SlDateTimeField), multi: true },
996
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => SlDateTimeField), multi: true },
997
+ ], host: {
998
+ 'data-ui': 'datetime-field',
999
+ 'data-part': 'root',
1000
+ '(mousedown)': 'onRootMouseDown($event)',
1001
+ '(keydown)': 'onKeyDown($event)',
1002
+ '[attr.data-size]': 'resolvedSize()',
1003
+ '[attr.data-variant]': 'resolvedVariant()',
1004
+ '[attr.data-calendar]': 'resolvedCalendar()',
1005
+ '[attr.data-cycle]': 'dataCycle()',
1006
+ '[attr.data-granularity]': 'resolvedGranularity()',
1007
+ '[attr.data-incomplete]': 'incomplete()',
1008
+ '[attr.data-relative]': "expression() === null ? null : ''",
1009
+ '[attr.data-disabled]': "resolvedDisabled() === true ? '' : null",
1010
+ '[attr.data-invalid]': "resolvedInvalid() === true ? '' : null",
1011
+ '[attr.data-readonly]': "resolvedReadOnly() === true ? '' : null",
1012
+ '[attr.data-required]': "resolvedRequired() === true ? '' : null",
1013
+ }, styles: ["@layer slotted.components{[data-ui=datetime-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-datetime-field-icon-size-min, 14px);--_icon-size: max(var(--_icon-floor), var(--slotted-control-icon-size-md, 16px));--_half-gap: var(--slotted-datetime-field-half-gap, var(--slotted-space-3, .375rem));--_action-size: var( --slotted-datetime-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-datetime-field-background, var(--slotted-control-surface, Field) );border:var(--slotted-control-border-width, 1px) solid var(--slotted-datetime-field-border-color, var(--slotted-control-border-color, ButtonBorder));border-radius:var(--slotted-datetime-field-radius, var(--slotted-control-radius, 4px));box-shadow:var(--slotted-datetime-field-shadow, var(--slotted-control-shadow, none));box-sizing:border-box;color:var(--slotted-datetime-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);padding-block:var(--slotted-datetime-field-padding-block, var(--slotted-space-1, .125rem));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=datetime-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=datetime-field] [data-part=segments]{align-items:center;column-gap:var(--_half-gap);cursor:text;display:flex;flex:1 1 auto;min-inline-size:0;overflow:hidden}[data-ui=datetime-field] [data-part=half]{align-items:center;direction:ltr;display:flex;flex:0 0 auto;font-variant-numeric:tabular-nums;unicode-bidi:isolate}[data-ui=datetime-field] [data-part=segments]:dir(rtl){justify-content:flex-end}[data-ui=datetime-field] [data-part=segment]{--_digits: 2;background-color:transparent;border-radius:var(--slotted-datetime-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-datetime-field-segment-min-inline-size, calc(var(--_digits) * 1ch) );padding-inline:var( --slotted-datetime-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=datetime-field] [data-part=segment][data-field=year]{--_digits: 4}[data-ui=datetime-field] [data-part=segment][data-field=dayPeriod]{font-variant-numeric:normal;min-inline-size:var(--slotted-datetime-field-period-min-inline-size, 2ch);text-transform:none;white-space:nowrap}[data-ui=datetime-field] [data-part=segment][data-placeholder]{color:var(--slotted-datetime-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=datetime-field] [data-part=literal]{color:var(--slotted-datetime-field-literal-color, var(--slotted-text-muted, GrayText));flex:0 0 auto;unicode-bidi:plaintext;-webkit-user-select:none;user-select:none}[data-ui=datetime-field] [data-part=literal][data-boundary]{margin-inline-end:0}[data-ui=datetime-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=datetime-field] [data-part=duration]:dir(rtl){text-align:right}[data-ui=datetime-field] [data-part=duration]::placeholder{color:var(--slotted-datetime-field-placeholder-color, var(--slotted-text-muted, GrayText))}[data-ui=datetime-field] [data-part=preview]{--_mark: 1cap;color:var(--slotted-datetime-field-preview-color, var(--slotted-tone-accent-text));display:block;flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap;unicode-bidi:plaintext}[data-ui=datetime-field] [data-part=preview]>[data-ui=icon]{--slotted-icon-size: var(--_mark);margin-inline:var(--slotted-space-1, .125rem);vertical-align:calc((((1cap + 1ex) / 2) - var(--_mark)) / 2)}[data-ui=datetime-field] [data-part=preview][data-rolls-day]>[data-part=preview-date]{color:var(--slotted-datetime-field-preview-day-color, var(--slotted-tone-accent-text));font-weight:var(--slotted-font-weight-semibold, 600)}[data-ui=datetime-field][data-part=root][data-relative]{border-color:var( --slotted-datetime-field-relative-border-color, var(--slotted-tone-accent-border) )}[data-ui=datetime-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=datetime-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=datetime-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=datetime-field][data-part=root][data-variant=subtle]{background-color:var( --slotted-datetime-field-subtle-background, var(--slotted-surface-sunken, Canvas) );border-color:var( --slotted-datetime-field-subtle-border-color, var(--slotted-border-subtle, ButtonBorder) )}[data-ui=datetime-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=datetime-field]>[data-part=start],[data-ui=datetime-field]>[data-part=end]{--slotted-icon-size: var(--_icon-size);align-items:center;color:var(--slotted-datetime-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=datetime-field]>[data-part=start]>svg,[data-ui=datetime-field]>[data-part=end]>svg{block-size:var(--_icon-size);inline-size:var(--_icon-size)}[data-ui=datetime-field]>[data-part=clear]{align-items:center;appearance:none;background-color:transparent;block-size:var(--_action-size);border:0;border-radius:var(--slotted-datetime-field-radius, var(--slotted-control-radius, 4px));color:var(--slotted-datetime-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=datetime-field]>[data-part=clear]:after{content:\"\";inset:min(0px,calc((100% - var(--slotted-target-min, 24px)) / 2));position:absolute}@media(pointer:coarse){[data-ui=datetime-field]>[data-part=clear]:after{inset:min(0px,calc((100% - var(--slotted-target-comfortable, 44px)) / 2))}[data-ui=datetime-field]>[data-part=end]+[data-part=clear]:after{inset-inline-start:0}}[data-ui=datetime-field]>[data-part=clear]{--slotted-icon-size: var(--_icon-size)}[data-ui=datetime-field]>[data-part=clear]:hover:not(:disabled):not([data-disabled]){background-color:var( --slotted-datetime-field-action-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=datetime-field]>[data-part=clear]:active:not(:disabled):not([data-disabled]){background-color:var( --slotted-datetime-field-action-active-background, var(--slotted-tone-secondary-subtle-active) )}[data-ui=datetime-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=datetime-field][data-part=root]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]):not([data-incomplete]){border-color:var( --slotted-datetime-field-hover-border-color, var(--slotted-tone-accent-border) )}[data-ui=datetime-field][data-part=root][data-variant=subtle]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-datetime-field-subtle-hover-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=datetime-field][data-part=root][data-variant=plain]:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]){background-color:var( --slotted-datetime-field-plain-hover-background, var(--slotted-tone-secondary-subtle-hover) );border-color:transparent}[data-ui=datetime-field][data-part=root][data-incomplete]:not([data-disabled]):not([data-readonly]):not([data-invalid]):not(:focus-within){border-color:var( --slotted-datetime-field-incomplete-border-color, var(--slotted-tone-warning-border) )}[data-ui=datetime-field][data-part=root]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-variant=plain]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field] [data-part=segment]:focus{background-color:var( --slotted-datetime-field-segment-focus-background, var(--slotted-tone-accent-solid) );color:var(--slotted-datetime-field-segment-focus-color, var(--slotted-tone-accent-on-solid));outline:none}[data-ui=datetime-field][data-part=root][data-invalid]{--slotted-focus-ring-color: var( --slotted-datetime-field-invalid-focus-ring-color, var(--slotted-focus-ring-color-invalid, Highlight) );--_invalid-edge-width: var( --slotted-datetime-field-invalid-edge-width, var(--slotted-control-invalid-edge-width, 1px) );--_invalid-edge-color: var( --slotted-datetime-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-datetime-field-invalid-border-color, var(--slotted-tone-danger-border) );box-shadow:var(--_invalid-edge)}[data-ui=datetime-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-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=datetime-field][data-part=root][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-variant=plain][data-invalid]:has([data-part=segment]:focus),[data-ui=datetime-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=datetime-field][data-part=root][data-readonly],[data-ui=datetime-field][data-part=root][data-readonly] [data-part=segments],[data-ui=datetime-field][data-part=root][data-readonly] [data-part=segment]{cursor:default}[data-ui=datetime-field][data-part=root][data-readonly]{background-color:var( --slotted-datetime-field-readonly-background, var(--slotted-tone-secondary-subtle-hover) )}[data-ui=datetime-field][data-part=root][data-disabled]{background-color:var( --slotted-datetime-field-disabled-background, var(--slotted-disabled-background) );border-color:var( --slotted-datetime-field-disabled-border-color, var(--slotted-disabled-border) );box-shadow:none;color:var(--slotted-datetime-field-disabled-color, var(--slotted-disabled-foreground));cursor:not-allowed}[data-ui=datetime-field][data-part=root][data-disabled] [data-part=segments],[data-ui=datetime-field][data-part=root][data-disabled] [data-part=segment]{cursor:not-allowed}[data-ui=datetime-field][data-part=root][data-disabled]>[data-part=start],[data-ui=datetime-field][data-part=root][data-disabled]>[data-part=end],[data-ui=datetime-field][data-part=root][data-disabled] [data-part=literal],[data-ui=datetime-field][data-part=root][data-disabled] [data-part=segment][data-placeholder]{color:var(--slotted-disabled-foreground)}@media(forced-colors:active){[data-ui=datetime-field][data-part=root][data-variant=plain]{border-color:ButtonBorder}[data-ui=datetime-field][data-part=root][data-relative]{border-color:Highlight}}}\n"] }]
1014
+ }], 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 }] }], minTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "minTime", required: false }] }], maxTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxTime", required: false }] }], isDateUnavailable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDateUnavailable", 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 }] }], calendar: [{ type: i0.Input, args: [{ isSignal: true, alias: "calendar", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstDayOfWeek", required: false }] }], yearPivot: [{ type: i0.Input, args: [{ isSignal: true, alias: "yearPivot", required: false }] }], referenceDateTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "referenceDateTime", 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"] }] } });
1015
+
1016
+ /**
1017
+ * An adornment before the value in the reading direction: a calendar mark, a
1018
+ * label, a zone name. Named for the direction rather than for a side, so the
1019
+ * same markup puts the mark before the value in both directions.
1020
+ *
1021
+ * It is a directive on the consumer's own element, so an `icon`, a `kbd` or a
1022
+ * `span` all work and none of them loses its own semantics. The stylesheet
1023
+ * sizes any icon inside it from the control's own glyph scale.
1024
+ */
1025
+ class SlDateTimeFieldStart {
1026
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlDateTimeFieldStart, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1027
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlDateTimeFieldStart, isStandalone: true, selector: "[slDateTimeFieldStart]", host: { attributes: { "data-part": "start" } }, exportAs: ["slDateTimeFieldStart"], ngImport: i0 });
1028
+ }
1029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlDateTimeFieldStart, decorators: [{
1030
+ type: Directive,
1031
+ args: [{
1032
+ selector: '[slDateTimeFieldStart]',
1033
+ standalone: true,
1034
+ exportAs: 'slDateTimeFieldStart',
1035
+ host: { 'data-part': 'start' },
1036
+ }]
1037
+ }] });
1038
+ /** An adornment after the value in the reading direction. */
1039
+ class SlDateTimeFieldEnd {
1040
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlDateTimeFieldEnd, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1041
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlDateTimeFieldEnd, isStandalone: true, selector: "[slDateTimeFieldEnd]", host: { attributes: { "data-part": "end" } }, exportAs: ["slDateTimeFieldEnd"], ngImport: i0 });
1042
+ }
1043
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlDateTimeFieldEnd, decorators: [{
1044
+ type: Directive,
1045
+ args: [{
1046
+ selector: '[slDateTimeFieldEnd]',
1047
+ standalone: true,
1048
+ exportAs: 'slDateTimeFieldEnd',
1049
+ host: { 'data-part': 'end' },
1050
+ }]
1051
+ }] });
1052
+
1053
+ /**
1054
+ * Generated bundle index. Do not edit.
1055
+ */
1056
+
1057
+ export { DATE_TIME_FIELD_DEFAULTS, SlDateTimeField, SlDateTimeFieldEnd, SlDateTimeFieldStart, injectDateTimeFieldDefaults, provideDateTimeFieldDefaults };
1058
+ //# sourceMappingURL=slotted-angular-datetime-field.mjs.map