@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.
- package/LICENSE +21 -0
- package/README.md +51 -2
- package/docs/AGENTS.snippet.md +10 -0
- package/docs/accordion.json +345 -0
- package/docs/accordion.md +207 -0
- package/docs/action-bar.json +421 -0
- package/docs/action-bar.md +364 -0
- package/docs/action-sheet.json +210 -0
- package/docs/action-sheet.md +19 -0
- package/docs/alert.json +407 -0
- package/docs/alert.md +239 -0
- package/docs/app-shell.examples.md +349 -0
- package/docs/app-shell.json +835 -0
- package/docs/app-shell.md +214 -0
- package/docs/aspect-ratio.json +159 -0
- package/docs/aspect-ratio.md +134 -0
- package/docs/attachment.json +486 -0
- package/docs/attachment.md +253 -0
- package/docs/avatar-group.json +208 -0
- package/docs/avatar-group.md +130 -0
- package/docs/avatar.json +342 -0
- package/docs/avatar.md +142 -0
- package/docs/badge.json +334 -0
- package/docs/badge.md +138 -0
- package/docs/breadcrumb.json +368 -0
- package/docs/breadcrumb.md +237 -0
- package/docs/button-group.json +158 -0
- package/docs/button-group.md +72 -0
- package/docs/button.examples.md +621 -0
- package/docs/button.json +977 -0
- package/docs/button.md +200 -0
- package/docs/calendar.json +592 -0
- package/docs/calendar.md +242 -0
- package/docs/card.json +283 -0
- package/docs/card.md +130 -0
- package/docs/carousel.json +560 -0
- package/docs/carousel.md +357 -0
- package/docs/cascader.json +933 -0
- package/docs/cascader.md +379 -0
- package/docs/chart.examples.md +582 -0
- package/docs/chart.json +1359 -0
- package/docs/chart.md +187 -0
- package/docs/checkbox-group.examples.md +612 -0
- package/docs/checkbox-group.json +395 -0
- package/docs/checkbox-group.md +106 -0
- package/docs/checkbox.examples.md +546 -0
- package/docs/checkbox.json +506 -0
- package/docs/checkbox.md +104 -0
- package/docs/code-block.json +616 -0
- package/docs/code-block.md +303 -0
- package/docs/collapsible.json +456 -0
- package/docs/collapsible.md +261 -0
- package/docs/color-picker.json +523 -0
- package/docs/color-picker.md +201 -0
- package/docs/column-manager.json +486 -0
- package/docs/column-manager.md +277 -0
- package/docs/combobox.examples.md +1732 -0
- package/docs/combobox.json +1250 -0
- package/docs/combobox.md +209 -0
- package/docs/command-palette.json +800 -0
- package/docs/command-palette.md +419 -0
- package/docs/container.json +156 -0
- package/docs/container.md +92 -0
- package/docs/context-menu.json +231 -0
- package/docs/context-menu.md +176 -0
- package/docs/currency-field.examples.md +321 -0
- package/docs/currency-field.json +649 -0
- package/docs/currency-field.md +128 -0
- package/docs/dashboard-grid.json +680 -0
- package/docs/dashboard-grid.md +265 -0
- package/docs/data-grid.examples.md +3064 -0
- package/docs/data-grid.json +1577 -0
- package/docs/data-grid.md +237 -0
- package/docs/data-grid.props.md +81 -0
- package/docs/data-list.json +685 -0
- package/docs/data-list.md +327 -0
- package/docs/date-field.json +490 -0
- package/docs/date-field.md +235 -0
- package/docs/date-picker.examples.md +1226 -0
- package/docs/date-picker.json +696 -0
- package/docs/date-picker.md +121 -0
- package/docs/date-range-picker.examples.md +1300 -0
- package/docs/date-range-picker.json +903 -0
- package/docs/date-range-picker.md +142 -0
- package/docs/datetime-field.json +665 -0
- package/docs/datetime-field.md +337 -0
- package/docs/datetime-picker.examples.md +1269 -0
- package/docs/datetime-picker.json +928 -0
- package/docs/datetime-picker.md +150 -0
- package/docs/datetime-range-picker.examples.md +225 -0
- package/docs/datetime-range-picker.json +1015 -0
- package/docs/datetime-range-picker.md +162 -0
- package/docs/description-list.json +471 -0
- package/docs/description-list.md +268 -0
- package/docs/detail-panel.json +530 -0
- package/docs/detail-panel.md +361 -0
- package/docs/dialog.examples.md +2467 -0
- package/docs/dialog.json +1141 -0
- package/docs/dialog.md +217 -0
- package/docs/dialog.props.md +63 -0
- package/docs/divider.json +148 -0
- package/docs/divider.md +83 -0
- package/docs/drawer.examples.md +1929 -0
- package/docs/drawer.json +753 -0
- package/docs/drawer.md +199 -0
- package/docs/entity-picker.json +946 -0
- package/docs/entity-picker.md +365 -0
- package/docs/event-calendar.examples.md +308 -0
- package/docs/event-calendar.json +1202 -0
- package/docs/event-calendar.md +201 -0
- package/docs/field-group.json +333 -0
- package/docs/field-group.md +181 -0
- package/docs/field.examples.md +676 -0
- package/docs/field.json +528 -0
- package/docs/field.md +127 -0
- package/docs/filter-bar.json +817 -0
- package/docs/filter-bar.md +380 -0
- package/docs/form.json +378 -0
- package/docs/form.md +235 -0
- package/docs/fullscreen.json +395 -0
- package/docs/fullscreen.md +225 -0
- package/docs/grid.json +176 -0
- package/docs/grid.md +74 -0
- package/docs/highlight.json +279 -0
- package/docs/highlight.md +210 -0
- package/docs/hover-card.json +254 -0
- package/docs/hover-card.md +213 -0
- package/docs/icon.json +173 -0
- package/docs/icon.md +101 -0
- package/docs/image.json +476 -0
- package/docs/image.md +254 -0
- package/docs/import-export-center.json +836 -0
- package/docs/import-export-center.md +345 -0
- package/docs/index.md +141 -0
- package/docs/inline-message.json +312 -0
- package/docs/inline-message.md +191 -0
- package/docs/inline.json +149 -0
- package/docs/inline.md +72 -0
- package/docs/kbd.json +350 -0
- package/docs/kbd.md +210 -0
- package/docs/link.json +264 -0
- package/docs/link.md +167 -0
- package/docs/list-item.json +463 -0
- package/docs/list-item.md +236 -0
- package/docs/list.json +321 -0
- package/docs/list.md +185 -0
- package/docs/listbox.json +807 -0
- package/docs/listbox.md +413 -0
- package/docs/loading-overlay.json +440 -0
- package/docs/loading-overlay.md +248 -0
- package/docs/markdown.json +461 -0
- package/docs/markdown.md +266 -0
- package/docs/menu.examples.md +1651 -0
- package/docs/menu.json +922 -0
- package/docs/menu.md +155 -0
- package/docs/menubar.json +292 -0
- package/docs/menubar.md +173 -0
- package/docs/message-scroller.json +401 -0
- package/docs/message-scroller.md +212 -0
- package/docs/message.json +862 -0
- package/docs/message.md +473 -0
- package/docs/multi-select.examples.md +1922 -0
- package/docs/multi-select.json +1314 -0
- package/docs/multi-select.md +213 -0
- package/docs/navigation-menu.json +529 -0
- package/docs/navigation-menu.md +329 -0
- package/docs/notification-center.json +664 -0
- package/docs/notification-center.md +372 -0
- package/docs/number-field.examples.md +1078 -0
- package/docs/number-field.json +668 -0
- package/docs/number-field.md +137 -0
- package/docs/otp-input.json +479 -0
- package/docs/otp-input.md +291 -0
- package/docs/page-header.json +574 -0
- package/docs/page-header.md +338 -0
- package/docs/page.json +332 -0
- package/docs/page.md +184 -0
- package/docs/pagination.json +434 -0
- package/docs/pagination.md +238 -0
- package/docs/popover.examples.md +1235 -0
- package/docs/popover.json +656 -0
- package/docs/popover.md +199 -0
- package/docs/progress-indicator.json +501 -0
- package/docs/progress-indicator.md +329 -0
- package/docs/prompt-composer.json +498 -0
- package/docs/prompt-composer.md +278 -0
- package/docs/prose.json +357 -0
- package/docs/prose.md +226 -0
- package/docs/radio-group.examples.md +626 -0
- package/docs/radio-group.json +541 -0
- package/docs/radio-group.md +112 -0
- package/docs/rating.json +1053 -0
- package/docs/rating.md +435 -0
- package/docs/result-state.json +376 -0
- package/docs/result-state.md +286 -0
- package/docs/saved-views.json +384 -0
- package/docs/saved-views.md +242 -0
- package/docs/scroll-area.json +120 -0
- package/docs/scroll-area.md +8 -0
- package/docs/section.json +344 -0
- package/docs/section.md +208 -0
- package/docs/segmented-control.json +429 -0
- package/docs/segmented-control.md +240 -0
- package/docs/select.examples.md +1214 -0
- package/docs/select.json +1147 -0
- package/docs/select.md +199 -0
- package/docs/side-navigation.json +632 -0
- package/docs/side-navigation.md +430 -0
- package/docs/skeleton.json +358 -0
- package/docs/skeleton.md +223 -0
- package/docs/slider.json +522 -0
- package/docs/slider.md +261 -0
- package/docs/sparkline.json +426 -0
- package/docs/sparkline.md +206 -0
- package/docs/split-button.json +361 -0
- package/docs/split-button.md +275 -0
- package/docs/splitter.json +142 -0
- package/docs/splitter.md +14 -0
- package/docs/stack.json +135 -0
- package/docs/stack.md +74 -0
- package/docs/stat-card.json +529 -0
- package/docs/stat-card.md +270 -0
- package/docs/status-indicator.json +314 -0
- package/docs/status-indicator.md +197 -0
- package/docs/stepper.json +451 -0
- package/docs/stepper.md +250 -0
- package/docs/switch.json +451 -0
- package/docs/switch.md +508 -0
- package/docs/table-of-contents.json +553 -0
- package/docs/table-of-contents.md +289 -0
- package/docs/table.examples.md +1981 -0
- package/docs/table.json +1059 -0
- package/docs/table.md +290 -0
- package/docs/tabs.examples.md +1370 -0
- package/docs/tabs.json +661 -0
- package/docs/tabs.md +211 -0
- package/docs/tag.json +813 -0
- package/docs/tag.md +241 -0
- package/docs/tags-input.json +771 -0
- package/docs/tags-input.md +361 -0
- package/docs/text-field.examples.md +821 -0
- package/docs/text-field.json +604 -0
- package/docs/text-field.md +125 -0
- package/docs/textarea.examples.md +612 -0
- package/docs/textarea.json +440 -0
- package/docs/textarea.md +98 -0
- package/docs/time-field.json +584 -0
- package/docs/time-field.md +291 -0
- package/docs/time-picker.json +679 -0
- package/docs/time-picker.md +315 -0
- package/docs/time-range-picker.examples.md +191 -0
- package/docs/time-range-picker.json +924 -0
- package/docs/time-range-picker.md +152 -0
- package/docs/timeline.json +839 -0
- package/docs/timeline.md +401 -0
- package/docs/toast.json +642 -0
- package/docs/toast.md +311 -0
- package/docs/toggle-group.json +417 -0
- package/docs/toggle-group.md +255 -0
- package/docs/toggle.json +326 -0
- package/docs/toggle.md +222 -0
- package/docs/toolbar.json +380 -0
- package/docs/toolbar.md +240 -0
- package/docs/tooltip.examples.md +664 -0
- package/docs/tooltip.json +604 -0
- package/docs/tooltip.md +146 -0
- package/docs/top-navigation.examples.md +287 -0
- package/docs/top-navigation.json +648 -0
- package/docs/top-navigation.md +138 -0
- package/docs/tour.json +759 -0
- package/docs/tour.md +337 -0
- package/docs/transfer.json +746 -0
- package/docs/transfer.md +273 -0
- package/docs/tree.json +918 -0
- package/docs/tree.md +397 -0
- package/docs/typography.json +317 -0
- package/docs/typography.md +107 -0
- package/docs/upload.examples.md +358 -0
- package/docs/upload.json +1103 -0
- package/docs/upload.md +166 -0
- package/docs/visually-hidden.json +71 -0
- package/docs/visually-hidden.md +42 -0
- package/docs/wizard.json +724 -0
- package/docs/wizard.md +295 -0
- package/fesm2022/slotted-angular-accordion.mjs +247 -0
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-bar.mjs +639 -0
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
- package/fesm2022/slotted-angular-alert.mjs +427 -0
- package/fesm2022/slotted-angular-alert.mjs.map +1 -0
- package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/slotted-angular-attachment.mjs +595 -0
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar.mjs +330 -0
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
- package/fesm2022/slotted-angular-badge.mjs +255 -0
- package/fesm2022/slotted-angular-badge.mjs.map +1 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/slotted-angular-button-group.mjs +146 -0
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-button.mjs +692 -0
- package/fesm2022/slotted-angular-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-calendar.mjs +916 -0
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-card.mjs +225 -0
- package/fesm2022/slotted-angular-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-carousel.mjs +840 -0
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
- package/fesm2022/slotted-angular-cascader.mjs +1839 -0
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
- package/fesm2022/slotted-angular-chart.mjs +974 -0
- package/fesm2022/slotted-angular-chart.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox.mjs +468 -0
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-code-block.mjs +476 -0
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
- package/fesm2022/slotted-angular-collapsible.mjs +479 -0
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
- package/fesm2022/slotted-angular-color-picker.mjs +910 -0
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
- package/fesm2022/slotted-angular-combobox.mjs +1480 -0
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
- package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
- package/fesm2022/slotted-angular-container.mjs +105 -0
- package/fesm2022/slotted-angular-container.mjs.map +1 -0
- package/fesm2022/slotted-angular-context-menu.mjs +221 -0
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-list.mjs +1418 -0
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-field.mjs +772 -0
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-picker.mjs +690 -0
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-description-list.mjs +545 -0
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
- package/fesm2022/slotted-angular-dialog.mjs +980 -0
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
- package/fesm2022/slotted-angular-divider.mjs +76 -0
- package/fesm2022/slotted-angular-divider.mjs.map +1 -0
- package/fesm2022/slotted-angular-drawer.mjs +1397 -0
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
- package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-field-group.mjs +301 -0
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-field.mjs +928 -0
- package/fesm2022/slotted-angular-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-form.mjs +592 -0
- package/fesm2022/slotted-angular-form.mjs.map +1 -0
- package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
- package/fesm2022/slotted-angular-grid.mjs +58 -0
- package/fesm2022/slotted-angular-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-highlight.mjs +123 -0
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
- package/fesm2022/slotted-angular-hover-card.mjs +326 -0
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-i18n.mjs +75 -0
- package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
- package/fesm2022/slotted-angular-icon.mjs +232 -0
- package/fesm2022/slotted-angular-icon.mjs.map +1 -0
- package/fesm2022/slotted-angular-image.mjs +442 -0
- package/fesm2022/slotted-angular-image.mjs.map +1 -0
- package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline-message.mjs +280 -0
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline.mjs +52 -0
- package/fesm2022/slotted-angular-inline.mjs.map +1 -0
- package/fesm2022/slotted-angular-kbd.mjs +284 -0
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
- package/fesm2022/slotted-angular-link.mjs +182 -0
- package/fesm2022/slotted-angular-link.mjs.map +1 -0
- package/fesm2022/slotted-angular-list-item.mjs +367 -0
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
- package/fesm2022/slotted-angular-list.mjs +256 -0
- package/fesm2022/slotted-angular-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-listbox.mjs +1274 -0
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
- package/fesm2022/slotted-angular-markdown.mjs +914 -0
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +1211 -0
- package/fesm2022/slotted-angular-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-menubar.mjs +230 -0
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
- package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
- package/fesm2022/slotted-angular-message.mjs +866 -0
- package/fesm2022/slotted-angular-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-number-field.mjs +966 -0
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-otp-input.mjs +629 -0
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-page-header.mjs +788 -0
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
- package/fesm2022/slotted-angular-page.mjs +255 -0
- package/fesm2022/slotted-angular-page.mjs.map +1 -0
- package/fesm2022/slotted-angular-pagination.mjs +562 -0
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
- package/fesm2022/slotted-angular-popover.mjs +799 -0
- package/fesm2022/slotted-angular-popover.mjs.map +1 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
- package/fesm2022/slotted-angular-prose.mjs +314 -0
- package/fesm2022/slotted-angular-prose.mjs.map +1 -0
- package/fesm2022/slotted-angular-radio-group.mjs +469 -0
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-rating.mjs +1174 -0
- package/fesm2022/slotted-angular-rating.mjs.map +1 -0
- package/fesm2022/slotted-angular-result-state.mjs +330 -0
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
- package/fesm2022/slotted-angular-saved-views.mjs +877 -0
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
- package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/slotted-angular-section.mjs +266 -0
- package/fesm2022/slotted-angular-section.mjs.map +1 -0
- package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/slotted-angular-select.mjs +1899 -0
- package/fesm2022/slotted-angular-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-skeleton.mjs +316 -0
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
- package/fesm2022/slotted-angular-slider.mjs +586 -0
- package/fesm2022/slotted-angular-slider.mjs.map +1 -0
- package/fesm2022/slotted-angular-sparkline.mjs +235 -0
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
- package/fesm2022/slotted-angular-split-button.mjs +331 -0
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-splitter.mjs +516 -0
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
- package/fesm2022/slotted-angular-stack.mjs +48 -0
- package/fesm2022/slotted-angular-stack.mjs.map +1 -0
- package/fesm2022/slotted-angular-stat-card.mjs +478 -0
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-stepper.mjs +536 -0
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
- package/fesm2022/slotted-angular-switch.mjs +447 -0
- package/fesm2022/slotted-angular-switch.mjs.map +1 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
- package/fesm2022/slotted-angular-table.mjs +2518 -0
- package/fesm2022/slotted-angular-table.mjs.map +1 -0
- package/fesm2022/slotted-angular-tabs.mjs +829 -0
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
- package/fesm2022/slotted-angular-tag.mjs +595 -0
- package/fesm2022/slotted-angular-tag.mjs.map +1 -0
- package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-text-field.mjs +674 -0
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-textarea.mjs +275 -0
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
- package/fesm2022/slotted-angular-theme.mjs +45 -0
- package/fesm2022/slotted-angular-theme.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-field.mjs +895 -0
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-picker.mjs +856 -0
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-timeline.mjs +928 -0
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
- package/fesm2022/slotted-angular-toast.mjs +917 -0
- package/fesm2022/slotted-angular-toast.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle.mjs +162 -0
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
- package/fesm2022/slotted-angular-toolbar.mjs +536 -0
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
- package/fesm2022/slotted-angular-tooltip.mjs +798 -0
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
- package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-tour.mjs +1330 -0
- package/fesm2022/slotted-angular-tour.mjs.map +1 -0
- package/fesm2022/slotted-angular-transfer.mjs +1406 -0
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
- package/fesm2022/slotted-angular-tree.mjs +1448 -0
- package/fesm2022/slotted-angular-tree.mjs.map +1 -0
- package/fesm2022/slotted-angular-typography.mjs +184 -0
- package/fesm2022/slotted-angular-typography.mjs.map +1 -0
- package/fesm2022/slotted-angular-upload.mjs +1523 -0
- package/fesm2022/slotted-angular-upload.mjs.map +1 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
- package/fesm2022/slotted-angular-wizard.mjs +1715 -0
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
- package/fesm2022/slotted-angular.mjs +4 -0
- package/fesm2022/slotted-angular.mjs.map +1 -0
- package/package.json +537 -3
- package/types/slotted-angular-accordion.d.ts +156 -0
- package/types/slotted-angular-accordion.d.ts.map +1 -0
- package/types/slotted-angular-action-bar.d.ts +291 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -0
- package/types/slotted-angular-action-sheet.d.ts +294 -0
- package/types/slotted-angular-action-sheet.d.ts.map +1 -0
- package/types/slotted-angular-alert.d.ts +214 -0
- package/types/slotted-angular-alert.d.ts.map +1 -0
- package/types/slotted-angular-app-shell.d.ts +549 -0
- package/types/slotted-angular-app-shell.d.ts.map +1 -0
- package/types/slotted-angular-aspect-ratio.d.ts +57 -0
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
- package/types/slotted-angular-attachment.d.ts +294 -0
- package/types/slotted-angular-attachment.d.ts.map +1 -0
- package/types/slotted-angular-avatar-group.d.ts +119 -0
- package/types/slotted-angular-avatar-group.d.ts.map +1 -0
- package/types/slotted-angular-avatar.d.ts +202 -0
- package/types/slotted-angular-avatar.d.ts.map +1 -0
- package/types/slotted-angular-badge.d.ts +166 -0
- package/types/slotted-angular-badge.d.ts.map +1 -0
- package/types/slotted-angular-breadcrumb.d.ts +251 -0
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
- package/types/slotted-angular-button-group.d.ts +89 -0
- package/types/slotted-angular-button-group.d.ts.map +1 -0
- package/types/slotted-angular-button.d.ts +390 -0
- package/types/slotted-angular-button.d.ts.map +1 -0
- package/types/slotted-angular-calendar.d.ts +280 -0
- package/types/slotted-angular-calendar.d.ts.map +1 -0
- package/types/slotted-angular-card.d.ts +140 -0
- package/types/slotted-angular-card.d.ts.map +1 -0
- package/types/slotted-angular-carousel.d.ts +288 -0
- package/types/slotted-angular-carousel.d.ts.map +1 -0
- package/types/slotted-angular-cascader.d.ts +351 -0
- package/types/slotted-angular-cascader.d.ts.map +1 -0
- package/types/slotted-angular-chart.d.ts +319 -0
- package/types/slotted-angular-chart.d.ts.map +1 -0
- package/types/slotted-angular-checkbox-group.d.ts +156 -0
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
- package/types/slotted-angular-checkbox.d.ts +197 -0
- package/types/slotted-angular-checkbox.d.ts.map +1 -0
- package/types/slotted-angular-code-block.d.ts +158 -0
- package/types/slotted-angular-code-block.d.ts.map +1 -0
- package/types/slotted-angular-collapsible.d.ts +272 -0
- package/types/slotted-angular-collapsible.d.ts.map +1 -0
- package/types/slotted-angular-color-picker.d.ts +181 -0
- package/types/slotted-angular-color-picker.d.ts.map +1 -0
- package/types/slotted-angular-column-manager.d.ts +200 -0
- package/types/slotted-angular-column-manager.d.ts.map +1 -0
- package/types/slotted-angular-combobox.d.ts +449 -0
- package/types/slotted-angular-combobox.d.ts.map +1 -0
- package/types/slotted-angular-command-palette.d.ts +256 -0
- package/types/slotted-angular-command-palette.d.ts.map +1 -0
- package/types/slotted-angular-container.d.ts +84 -0
- package/types/slotted-angular-container.d.ts.map +1 -0
- package/types/slotted-angular-context-menu.d.ts +84 -0
- package/types/slotted-angular-context-menu.d.ts.map +1 -0
- package/types/slotted-angular-currency-field.d.ts +480 -0
- package/types/slotted-angular-currency-field.d.ts.map +1 -0
- package/types/slotted-angular-dashboard-grid.d.ts +341 -0
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-grid.d.ts +1077 -0
- package/types/slotted-angular-data-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-list.d.ts +272 -0
- package/types/slotted-angular-data-list.d.ts.map +1 -0
- package/types/slotted-angular-date-field.d.ts +320 -0
- package/types/slotted-angular-date-field.d.ts.map +1 -0
- package/types/slotted-angular-date-picker.d.ts +224 -0
- package/types/slotted-angular-date-picker.d.ts.map +1 -0
- package/types/slotted-angular-date-range-picker.d.ts +310 -0
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-field.d.ts +362 -0
- package/types/slotted-angular-datetime-field.d.ts.map +1 -0
- package/types/slotted-angular-datetime-picker.d.ts +370 -0
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-description-list.d.ts +281 -0
- package/types/slotted-angular-description-list.d.ts.map +1 -0
- package/types/slotted-angular-detail-panel.d.ts +240 -0
- package/types/slotted-angular-detail-panel.d.ts.map +1 -0
- package/types/slotted-angular-dialog.d.ts +497 -0
- package/types/slotted-angular-dialog.d.ts.map +1 -0
- package/types/slotted-angular-divider.d.ts +40 -0
- package/types/slotted-angular-divider.d.ts.map +1 -0
- package/types/slotted-angular-drawer.d.ts +532 -0
- package/types/slotted-angular-drawer.d.ts.map +1 -0
- package/types/slotted-angular-entity-picker.d.ts +338 -0
- package/types/slotted-angular-entity-picker.d.ts.map +1 -0
- package/types/slotted-angular-event-calendar.d.ts +574 -0
- package/types/slotted-angular-event-calendar.d.ts.map +1 -0
- package/types/slotted-angular-field-group.d.ts +152 -0
- package/types/slotted-angular-field-group.d.ts.map +1 -0
- package/types/slotted-angular-field.d.ts +535 -0
- package/types/slotted-angular-field.d.ts.map +1 -0
- package/types/slotted-angular-filter-bar.d.ts +573 -0
- package/types/slotted-angular-filter-bar.d.ts.map +1 -0
- package/types/slotted-angular-form.d.ts +298 -0
- package/types/slotted-angular-form.d.ts.map +1 -0
- package/types/slotted-angular-fullscreen.d.ts +145 -0
- package/types/slotted-angular-fullscreen.d.ts.map +1 -0
- package/types/slotted-angular-grid.d.ts +50 -0
- package/types/slotted-angular-grid.d.ts.map +1 -0
- package/types/slotted-angular-highlight.d.ts +93 -0
- package/types/slotted-angular-highlight.d.ts.map +1 -0
- package/types/slotted-angular-hover-card.d.ts +140 -0
- package/types/slotted-angular-hover-card.d.ts.map +1 -0
- package/types/slotted-angular-i18n.d.ts +46 -0
- package/types/slotted-angular-i18n.d.ts.map +1 -0
- package/types/slotted-angular-icon.d.ts +94 -0
- package/types/slotted-angular-icon.d.ts.map +1 -0
- package/types/slotted-angular-image.d.ts +251 -0
- package/types/slotted-angular-image.d.ts.map +1 -0
- package/types/slotted-angular-import-export-center.d.ts +351 -0
- package/types/slotted-angular-import-export-center.d.ts.map +1 -0
- package/types/slotted-angular-inline-message.d.ts +195 -0
- package/types/slotted-angular-inline-message.d.ts.map +1 -0
- package/types/slotted-angular-inline.d.ts +41 -0
- package/types/slotted-angular-inline.d.ts.map +1 -0
- package/types/slotted-angular-kbd.d.ts +174 -0
- package/types/slotted-angular-kbd.d.ts.map +1 -0
- package/types/slotted-angular-link.d.ts +94 -0
- package/types/slotted-angular-link.d.ts.map +1 -0
- package/types/slotted-angular-list-item.d.ts +210 -0
- package/types/slotted-angular-list-item.d.ts.map +1 -0
- package/types/slotted-angular-list.d.ts +176 -0
- package/types/slotted-angular-list.d.ts.map +1 -0
- package/types/slotted-angular-listbox.d.ts +470 -0
- package/types/slotted-angular-listbox.d.ts.map +1 -0
- package/types/slotted-angular-loading-overlay.d.ts +219 -0
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
- package/types/slotted-angular-markdown.d.ts +172 -0
- package/types/slotted-angular-markdown.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +448 -0
- package/types/slotted-angular-menu.d.ts.map +1 -0
- package/types/slotted-angular-menubar.d.ts +90 -0
- package/types/slotted-angular-menubar.d.ts.map +1 -0
- package/types/slotted-angular-message-scroller.d.ts +151 -0
- package/types/slotted-angular-message-scroller.d.ts.map +1 -0
- package/types/slotted-angular-message.d.ts +348 -0
- package/types/slotted-angular-message.d.ts.map +1 -0
- package/types/slotted-angular-multi-select.d.ts +462 -0
- package/types/slotted-angular-multi-select.d.ts.map +1 -0
- package/types/slotted-angular-navigation-menu.d.ts +309 -0
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
- package/types/slotted-angular-notification-center.d.ts +318 -0
- package/types/slotted-angular-notification-center.d.ts.map +1 -0
- package/types/slotted-angular-number-field.d.ts +402 -0
- package/types/slotted-angular-number-field.d.ts.map +1 -0
- package/types/slotted-angular-otp-input.d.ts +286 -0
- package/types/slotted-angular-otp-input.d.ts.map +1 -0
- package/types/slotted-angular-page-header.d.ts +334 -0
- package/types/slotted-angular-page-header.d.ts.map +1 -0
- package/types/slotted-angular-page.d.ts +141 -0
- package/types/slotted-angular-page.d.ts.map +1 -0
- package/types/slotted-angular-pagination.d.ts +213 -0
- package/types/slotted-angular-pagination.d.ts.map +1 -0
- package/types/slotted-angular-popover.d.ts +366 -0
- package/types/slotted-angular-popover.d.ts.map +1 -0
- package/types/slotted-angular-progress-indicator.d.ts +312 -0
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
- package/types/slotted-angular-prompt-composer.d.ts +242 -0
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
- package/types/slotted-angular-prose.d.ts +171 -0
- package/types/slotted-angular-prose.d.ts.map +1 -0
- package/types/slotted-angular-radio-group.d.ts +268 -0
- package/types/slotted-angular-radio-group.d.ts.map +1 -0
- package/types/slotted-angular-rating.d.ts +374 -0
- package/types/slotted-angular-rating.d.ts.map +1 -0
- package/types/slotted-angular-result-state.d.ts +217 -0
- package/types/slotted-angular-result-state.d.ts.map +1 -0
- package/types/slotted-angular-saved-views.d.ts +198 -0
- package/types/slotted-angular-saved-views.d.ts.map +1 -0
- package/types/slotted-angular-scroll-area.d.ts +186 -0
- package/types/slotted-angular-scroll-area.d.ts.map +1 -0
- package/types/slotted-angular-section.d.ts +143 -0
- package/types/slotted-angular-section.d.ts.map +1 -0
- package/types/slotted-angular-segmented-control.d.ts +251 -0
- package/types/slotted-angular-segmented-control.d.ts.map +1 -0
- package/types/slotted-angular-select.d.ts +507 -0
- package/types/slotted-angular-select.d.ts.map +1 -0
- package/types/slotted-angular-side-navigation.d.ts +373 -0
- package/types/slotted-angular-side-navigation.d.ts.map +1 -0
- package/types/slotted-angular-skeleton.d.ts +198 -0
- package/types/slotted-angular-skeleton.d.ts.map +1 -0
- package/types/slotted-angular-slider.d.ts +216 -0
- package/types/slotted-angular-slider.d.ts.map +1 -0
- package/types/slotted-angular-sparkline.d.ts +106 -0
- package/types/slotted-angular-sparkline.d.ts.map +1 -0
- package/types/slotted-angular-split-button.d.ts +180 -0
- package/types/slotted-angular-split-button.d.ts.map +1 -0
- package/types/slotted-angular-splitter.d.ts +206 -0
- package/types/slotted-angular-splitter.d.ts.map +1 -0
- package/types/slotted-angular-stack.d.ts +38 -0
- package/types/slotted-angular-stack.d.ts.map +1 -0
- package/types/slotted-angular-stat-card.d.ts +232 -0
- package/types/slotted-angular-stat-card.d.ts.map +1 -0
- package/types/slotted-angular-status-indicator.d.ts +106 -0
- package/types/slotted-angular-status-indicator.d.ts.map +1 -0
- package/types/slotted-angular-stepper.d.ts +198 -0
- package/types/slotted-angular-stepper.d.ts.map +1 -0
- package/types/slotted-angular-switch.d.ts +243 -0
- package/types/slotted-angular-switch.d.ts.map +1 -0
- package/types/slotted-angular-table-of-contents.d.ts +210 -0
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
- package/types/slotted-angular-table.d.ts +888 -0
- package/types/slotted-angular-table.d.ts.map +1 -0
- package/types/slotted-angular-tabs.d.ts +340 -0
- package/types/slotted-angular-tabs.d.ts.map +1 -0
- package/types/slotted-angular-tag.d.ts +279 -0
- package/types/slotted-angular-tag.d.ts.map +1 -0
- package/types/slotted-angular-tags-input.d.ts +302 -0
- package/types/slotted-angular-tags-input.d.ts.map +1 -0
- package/types/slotted-angular-text-field.d.ts +334 -0
- package/types/slotted-angular-text-field.d.ts.map +1 -0
- package/types/slotted-angular-textarea.d.ts +150 -0
- package/types/slotted-angular-textarea.d.ts.map +1 -0
- package/types/slotted-angular-theme.d.ts +26 -0
- package/types/slotted-angular-theme.d.ts.map +1 -0
- package/types/slotted-angular-time-field.d.ts +300 -0
- package/types/slotted-angular-time-field.d.ts.map +1 -0
- package/types/slotted-angular-time-picker.d.ts +260 -0
- package/types/slotted-angular-time-picker.d.ts.map +1 -0
- package/types/slotted-angular-time-range-picker.d.ts +401 -0
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-timeline.d.ts +329 -0
- package/types/slotted-angular-timeline.d.ts.map +1 -0
- package/types/slotted-angular-toast.d.ts +340 -0
- package/types/slotted-angular-toast.d.ts.map +1 -0
- package/types/slotted-angular-toggle-group.d.ts +167 -0
- package/types/slotted-angular-toggle-group.d.ts.map +1 -0
- package/types/slotted-angular-toggle.d.ts +106 -0
- package/types/slotted-angular-toggle.d.ts.map +1 -0
- package/types/slotted-angular-toolbar.d.ts +252 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -0
- package/types/slotted-angular-tooltip.d.ts +388 -0
- package/types/slotted-angular-tooltip.d.ts.map +1 -0
- package/types/slotted-angular-top-navigation.d.ts +442 -0
- package/types/slotted-angular-top-navigation.d.ts.map +1 -0
- package/types/slotted-angular-tour.d.ts +440 -0
- package/types/slotted-angular-tour.d.ts.map +1 -0
- package/types/slotted-angular-transfer.d.ts +296 -0
- package/types/slotted-angular-transfer.d.ts.map +1 -0
- package/types/slotted-angular-tree.d.ts +499 -0
- package/types/slotted-angular-tree.d.ts.map +1 -0
- package/types/slotted-angular-typography.d.ts +89 -0
- package/types/slotted-angular-typography.d.ts.map +1 -0
- package/types/slotted-angular-upload.d.ts +365 -0
- package/types/slotted-angular-upload.d.ts.map +1 -0
- package/types/slotted-angular-visually-hidden.d.ts +19 -0
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
- package/types/slotted-angular-wizard.d.ts +441 -0
- package/types/slotted-angular-wizard.d.ts.map +1 -0
- package/types/slotted-angular.d.ts +3 -0
- package/types/slotted-angular.d.ts.map +1 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
2
|
+
import { PartialMessages, TimeRangePickerMessages } from '@slotted/core/i18n';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { InjectionToken, OnInit, TemplateRef, ElementRef } from '@angular/core';
|
|
5
|
+
import * as _slotted_core_date from '@slotted/core/date';
|
|
6
|
+
import { PlainTime, TimeGranularity, TimeRangeValue, TimeOption } from '@slotted/core/date';
|
|
7
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
8
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
9
|
+
import { SlTimeField, TimeFieldChangeRequest } from '@slotted/angular/time-field';
|
|
10
|
+
|
|
11
|
+
/** A run of times, either end of which may be open. */
|
|
12
|
+
type TimeRange = TimeRangeValue;
|
|
13
|
+
/** Where the surface opens, before the positioner has read the room. */
|
|
14
|
+
type TimeRangePickerPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end';
|
|
15
|
+
/**
|
|
16
|
+
* Whether choosing closes the surface. `auto` closes when the work becomes
|
|
17
|
+
* whole — by a press in a list, by `now` or by a preset — and stays open
|
|
18
|
+
* while an end is still missing, because the next press has to reach the
|
|
19
|
+
* same surface.
|
|
20
|
+
*/
|
|
21
|
+
type TimeRangePickerCloseOnSelect = 'auto' | 'always' | 'never';
|
|
22
|
+
/** What a time a bound or the predicate refuses looks like in a list. */
|
|
23
|
+
type TimeRangePickerUnavailableOptions = 'disable' | 'hide';
|
|
24
|
+
type TimeRangePickerSize = 'sm' | 'md' | 'lg';
|
|
25
|
+
type TimeRangePickerVariant = 'outline' | 'subtle' | 'plain';
|
|
26
|
+
type TimeRangePickerHourCycle = 12 | 24;
|
|
27
|
+
/** The end being edited: the field and the panel carrying `data-current`. */
|
|
28
|
+
type TimeRangePickerPosition = 'start' | 'end';
|
|
29
|
+
/** The highlighted option of each list. */
|
|
30
|
+
interface TimeRangePickerHighlight {
|
|
31
|
+
readonly start: PlainTime | null;
|
|
32
|
+
readonly end: PlainTime | null;
|
|
33
|
+
}
|
|
34
|
+
/** A quarter of an hour, the step every surveyed panel defaults to within a factor of two. */
|
|
35
|
+
declare const TIME_RANGE_PICKER_STEP = 900;
|
|
36
|
+
/** A whole day at a one-minute step: the finest whole-day list any surveyed implementation offers. */
|
|
37
|
+
declare const TIME_RANGE_PICKER_MAX_OPTIONS = 1440;
|
|
38
|
+
/** "2 hr 30 min": the duration the band and the rows say, in the family's locale. */
|
|
39
|
+
declare function timeRangePickerLengthLabel(seconds: number, locale?: string): string;
|
|
40
|
+
interface TimeRangePickerDefaults {
|
|
41
|
+
closeOnSelect: TimeRangePickerCloseOnSelect;
|
|
42
|
+
granularity: TimeGranularity;
|
|
43
|
+
hourCycle: TimeRangePickerHourCycle | undefined;
|
|
44
|
+
/** "2 hr 30 min", in the product's own words; seconds in, and the family's locale. */
|
|
45
|
+
lengthLabel: (seconds: number, locale: string | undefined) => string;
|
|
46
|
+
maxOptions: number;
|
|
47
|
+
placement: TimeRangePickerPlacement;
|
|
48
|
+
size: TimeRangePickerSize;
|
|
49
|
+
step: number;
|
|
50
|
+
timeZone: string | undefined;
|
|
51
|
+
unavailableOptions: TimeRangePickerUnavailableOptions;
|
|
52
|
+
variant: TimeRangePickerVariant;
|
|
53
|
+
}
|
|
54
|
+
declare const TIME_RANGE_PICKER_DEFAULTS: InjectionToken<TimeRangePickerDefaults>;
|
|
55
|
+
/**
|
|
56
|
+
* An application decides once what its times look like, what step its lists
|
|
57
|
+
* offer and how a duration is written — rather than repeating the same inputs
|
|
58
|
+
* on every picker in a form. The locale and the words come from the language
|
|
59
|
+
* in force (`provideSlotted`).
|
|
60
|
+
*/
|
|
61
|
+
declare function provideTimeRangePickerDefaults(defaults: Partial<TimeRangePickerDefaults>): {
|
|
62
|
+
provide: InjectionToken<TimeRangePickerDefaults>;
|
|
63
|
+
useFactory: () => TimeRangePickerDefaults;
|
|
64
|
+
};
|
|
65
|
+
/** What a time range picker renders as here, before it states anything of its own. */
|
|
66
|
+
declare function injectTimeRangePickerDefaults(): TimeRangePickerDefaults;
|
|
67
|
+
|
|
68
|
+
declare function isSameTimeRange(a: TimeRange | null, b: TimeRange | null): boolean;
|
|
69
|
+
/**
|
|
70
|
+
* A one-line frame — the value in words, a clear and the trigger — and behind
|
|
71
|
+
* it one end at a time: two tabs, the field of the current end, a hint, and
|
|
72
|
+
* the list of that end.
|
|
73
|
+
*
|
|
74
|
+
* **The frame is one line at any width.** Two segmented fields stood in it
|
|
75
|
+
* first and were withdrawn at the visual gate: a segment cannot shrink, and
|
|
76
|
+
* two of them broke the frame into two lines in any form column narrower than
|
|
77
|
+
* they are. The field lives in the panel's band, where the reader types.
|
|
78
|
+
*
|
|
79
|
+
* **One end at a time.** Two lists side by side were refused at the release
|
|
80
|
+
* gate as too much interface at once for a lay reader and for a phone. The
|
|
81
|
+
* tab says which end, the panel shows only that end, and choosing one end
|
|
82
|
+
* moves to the other — the end list appears already striking what the chosen
|
|
83
|
+
* start refuses, every row saying the duration the run would have.
|
|
84
|
+
*
|
|
85
|
+
* **A press that leaves the work with one end is not the value.** The press
|
|
86
|
+
* that completes it emits the whole run; `Escape`, an outside press and the
|
|
87
|
+
* trigger abandon the work. An end typed in the field is a value on its own.
|
|
88
|
+
*/
|
|
89
|
+
declare class SlTimeRangePicker implements ControlValueAccessor, Validator, OnInit {
|
|
90
|
+
readonly value: _angular_core.InputSignal<_slotted_core_date.TimeRangeValue | null | undefined>;
|
|
91
|
+
readonly defaultValue: _angular_core.InputSignal<_slotted_core_date.TimeRangeValue | null | undefined>;
|
|
92
|
+
/** Present means the consumer owns whether the surface is showing. */
|
|
93
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
94
|
+
readonly defaultOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
95
|
+
/** Present means the consumer owns which end is being edited. */
|
|
96
|
+
readonly position: _angular_core.InputSignal<TimeRangePickerPosition | undefined>;
|
|
97
|
+
readonly defaultPosition: _angular_core.InputSignal<TimeRangePickerPosition>;
|
|
98
|
+
/** Where the reader is in each list. Present means the consumer owns it. */
|
|
99
|
+
readonly highlighted: _angular_core.InputSignal<TimeRangePickerHighlight | undefined>;
|
|
100
|
+
readonly defaultHighlighted: _angular_core.InputSignal<TimeRangePickerHighlight | undefined>;
|
|
101
|
+
readonly min: _angular_core.InputSignal<PlainTime | undefined>;
|
|
102
|
+
readonly max: _angular_core.InputSignal<PlainTime | undefined>;
|
|
103
|
+
readonly isTimeUnavailable: _angular_core.InputSignal<((time: PlainTime) => boolean) | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Whether a run may cross an unavailable time. On, and with a start chosen,
|
|
106
|
+
* the options beyond the first unavailable one are refused in the end list.
|
|
107
|
+
*/
|
|
108
|
+
readonly contiguous: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
109
|
+
/** The shortest and longest run allowed, in seconds. */
|
|
110
|
+
readonly minLength: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
111
|
+
readonly maxLength: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
112
|
+
readonly lengthLabel: _angular_core.InputSignal<((seconds: number, locale: string | undefined) => string) | undefined>;
|
|
113
|
+
/** Seconds between two offered times. Ignored when `options` states the list. */
|
|
114
|
+
readonly step: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
115
|
+
/** The times to offer, stated rather than stepped; the same list for both ends. */
|
|
116
|
+
readonly options: _angular_core.InputSignal<readonly PlainTime[] | undefined>;
|
|
117
|
+
readonly maxOptions: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
118
|
+
readonly unavailableOptions: _angular_core.InputSignal<TimeRangePickerUnavailableOptions | undefined>;
|
|
119
|
+
/** BCP 47. Unset, the language in force (`provideSlotted`) decides. */
|
|
120
|
+
readonly locale: _angular_core.InputSignal<string | undefined>;
|
|
121
|
+
readonly timeZone: _angular_core.InputSignal<string | undefined>;
|
|
122
|
+
readonly hourCycle: _angular_core.InputSignal<TimeRangePickerHourCycle | undefined>;
|
|
123
|
+
readonly granularity: _angular_core.InputSignal<_slotted_core_date.TimeGranularity | undefined>;
|
|
124
|
+
/** What "now" is, for a story or a test; the clock otherwise. */
|
|
125
|
+
readonly referenceTime: _angular_core.InputSignal<PlainTime | undefined>;
|
|
126
|
+
readonly size: _angular_core.InputSignal<TimeRangePickerSize | undefined>;
|
|
127
|
+
readonly variant: _angular_core.InputSignal<TimeRangePickerVariant | undefined>;
|
|
128
|
+
readonly placement: _angular_core.InputSignal<TimeRangePickerPlacement | undefined>;
|
|
129
|
+
readonly closeOnSelect: _angular_core.InputSignal<TimeRangePickerCloseOnSelect | undefined>;
|
|
130
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
131
|
+
readonly readOnly: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
132
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
133
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
134
|
+
/** Draws one clear on the frame, which empties both ends. */
|
|
135
|
+
readonly clearable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
136
|
+
/** Whether the two fields in the band take the relative expression. */
|
|
137
|
+
readonly relative: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Words laid over the catalog of the language in force, key by key: the
|
|
140
|
+
* trigger's names, the two ends, the hint, the limit, and what a panel says
|
|
141
|
+
* when it is empty or cut short.
|
|
142
|
+
*/
|
|
143
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<TimeRangePickerMessages> | undefined>;
|
|
144
|
+
/** The names of the two hidden inputs a plain form post reads. */
|
|
145
|
+
readonly startName: _angular_core.InputSignal<string | undefined>;
|
|
146
|
+
readonly endName: _angular_core.InputSignal<string | undefined>;
|
|
147
|
+
readonly valueChange: _angular_core.OutputEmitterRef<ChangeRequest<_slotted_core_date.TimeRangeValue | null>>;
|
|
148
|
+
readonly openChange: _angular_core.OutputEmitterRef<ChangeRequest<boolean>>;
|
|
149
|
+
readonly positionChange: _angular_core.OutputEmitterRef<ChangeRequest<TimeRangePickerPosition>>;
|
|
150
|
+
readonly highlightedChange: _angular_core.OutputEmitterRef<ChangeRequest<TimeRangePickerHighlight>>;
|
|
151
|
+
/** What one row draws; a template, because it is re-rendered once per option. */
|
|
152
|
+
protected optionTemplate?: TemplateRef<unknown>;
|
|
153
|
+
protected layer?: ElementRef<HTMLElement>;
|
|
154
|
+
/** Whether the lists were scrolled to their highlight since the surface opened. */
|
|
155
|
+
private revealed;
|
|
156
|
+
protected triggerRef?: ElementRef<HTMLButtonElement>;
|
|
157
|
+
protected field?: SlTimeField;
|
|
158
|
+
protected fieldBox?: ElementRef<HTMLElement>;
|
|
159
|
+
private readonly element;
|
|
160
|
+
protected readonly defaults: TimeRangePickerDefaults;
|
|
161
|
+
private readonly appLocale;
|
|
162
|
+
/** The family's words in the language in force, with this picker's `messages` laid over them. */
|
|
163
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<TimeRangePickerMessages>;
|
|
164
|
+
private readonly injector;
|
|
165
|
+
private readonly destroyRef;
|
|
166
|
+
private readonly enclosing;
|
|
167
|
+
protected readonly contentId: string;
|
|
168
|
+
protected readonly positions: readonly TimeRangePickerPosition[];
|
|
169
|
+
private readonly ownOpen;
|
|
170
|
+
private readonly ownValue;
|
|
171
|
+
private readonly ownPosition;
|
|
172
|
+
private readonly ownHighlight;
|
|
173
|
+
private readonly formDisabled;
|
|
174
|
+
private readonly clock;
|
|
175
|
+
protected readonly positioned: _angular_core.WritableSignal<boolean>;
|
|
176
|
+
protected readonly sheet: _angular_core.WritableSignal<boolean>;
|
|
177
|
+
/**
|
|
178
|
+
* The work: the two ends as the reader left them while the panel is open. A
|
|
179
|
+
* press in a list writes it; the value is asked for when it is whole. Closed
|
|
180
|
+
* by anything, it is rebuilt from the value on the next open.
|
|
181
|
+
*/
|
|
182
|
+
protected readonly work: _angular_core.WritableSignal<_slotted_core_date.TimeRangeValue>;
|
|
183
|
+
/** The option under the pointer, which enters the duration and nothing else. */
|
|
184
|
+
protected readonly hovered: _angular_core.WritableSignal<{
|
|
185
|
+
position: TimeRangePickerPosition;
|
|
186
|
+
time: PlainTime;
|
|
187
|
+
} | null>;
|
|
188
|
+
/** Whether the list holds focus, so its highlight is the pending end. */
|
|
189
|
+
protected readonly listFocused: _angular_core.WritableSignal<boolean>;
|
|
190
|
+
/** Where focus lands once the surface is drawn. */
|
|
191
|
+
private focusOnOpen;
|
|
192
|
+
private positioner;
|
|
193
|
+
private dismissable;
|
|
194
|
+
private readonly typeaheads;
|
|
195
|
+
private onChangeFn;
|
|
196
|
+
private onTouchedFn;
|
|
197
|
+
private onValidatorChangeFn;
|
|
198
|
+
protected readonly isOpen: _angular_core.Signal<boolean>;
|
|
199
|
+
protected readonly held: _angular_core.Signal<_slotted_core_date.TimeRangeValue | null>;
|
|
200
|
+
/** The range the picker holds. Public, so a preset can compare itself to it. */
|
|
201
|
+
readonly selection: _angular_core.Signal<_slotted_core_date.TimeRangeValue | null>;
|
|
202
|
+
protected readonly currentPosition: _angular_core.Signal<TimeRangePickerPosition>;
|
|
203
|
+
protected readonly highlight: _angular_core.Signal<TimeRangePickerHighlight>;
|
|
204
|
+
protected readonly start: _angular_core.Signal<PlainTime | null>;
|
|
205
|
+
protected readonly end: _angular_core.Signal<PlainTime | null>;
|
|
206
|
+
protected readonly startIso: _angular_core.Signal<string>;
|
|
207
|
+
protected readonly endIso: _angular_core.Signal<string>;
|
|
208
|
+
protected readonly resolvedLocale: _angular_core.Signal<string>;
|
|
209
|
+
protected readonly resolvedTimeZone: _angular_core.Signal<string | undefined>;
|
|
210
|
+
protected readonly resolvedHourCycle: _angular_core.Signal<TimeRangePickerHourCycle | undefined>;
|
|
211
|
+
protected readonly resolvedGranularity: _angular_core.Signal<_slotted_core_date.TimeGranularity>;
|
|
212
|
+
protected readonly resolvedSize: _angular_core.Signal<TimeRangePickerSize>;
|
|
213
|
+
protected readonly resolvedVariant: _angular_core.Signal<TimeRangePickerVariant>;
|
|
214
|
+
protected readonly resolvedPlacement: _angular_core.Signal<TimeRangePickerPlacement>;
|
|
215
|
+
protected readonly resolvedDisabled: _angular_core.Signal<boolean | undefined>;
|
|
216
|
+
protected readonly resolvedReadOnly: _angular_core.Signal<boolean | undefined>;
|
|
217
|
+
protected readonly resolvedRequired: _angular_core.Signal<boolean | undefined>;
|
|
218
|
+
protected readonly editable: _angular_core.Signal<boolean>;
|
|
219
|
+
private readonly format;
|
|
220
|
+
private readonly anchor;
|
|
221
|
+
private readonly lengthOf;
|
|
222
|
+
/**
|
|
223
|
+
* Validity the family owns, beside the validity the consumer states: the
|
|
224
|
+
* bounds, the predicate, the order of the two ends and the duration.
|
|
225
|
+
*/
|
|
226
|
+
private readonly problems;
|
|
227
|
+
protected readonly reversed: _angular_core.Signal<boolean>;
|
|
228
|
+
protected readonly resolvedInvalid: _angular_core.Signal<boolean | undefined>;
|
|
229
|
+
private readonly workOrdered;
|
|
230
|
+
protected readonly startMax: _angular_core.Signal<PlainTime | undefined>;
|
|
231
|
+
protected readonly endMin: _angular_core.Signal<PlainTime | undefined>;
|
|
232
|
+
private readonly listOptions;
|
|
233
|
+
private readonly base;
|
|
234
|
+
protected readonly truncated: _angular_core.Signal<boolean>;
|
|
235
|
+
/**
|
|
236
|
+
* The list of one end: the shared list, and what the other end of the work
|
|
237
|
+
* refuses of it — the options on the wrong side of it, those whose duration
|
|
238
|
+
* would fall outside the limits, and with `contiguous` those beyond the
|
|
239
|
+
* first refused option after it. The search runs over the list, never over
|
|
240
|
+
* the seconds.
|
|
241
|
+
*/
|
|
242
|
+
protected readonly lists: _angular_core.Signal<Record<TimeRangePickerPosition, TimeOption[]>>;
|
|
243
|
+
protected readonly labels: _angular_core.Signal<Record<TimeRangePickerPosition, string[]>>;
|
|
244
|
+
private listFor;
|
|
245
|
+
protected highlightIndex(position: TimeRangePickerPosition): number;
|
|
246
|
+
protected isSelected(position: TimeRangePickerPosition, option: TimeOption): boolean;
|
|
247
|
+
/** The name of one end: the field's, its tab's and the hint's `{end}`. */
|
|
248
|
+
protected labelFor(position: TimeRangePickerPosition): string;
|
|
249
|
+
/** The end written short in the tab, or a dash. */
|
|
250
|
+
protected tabValue(position: TimeRangePickerPosition): string;
|
|
251
|
+
/** The problems of the work as it stands, once it is whole. */
|
|
252
|
+
private readonly workProblems;
|
|
253
|
+
protected readonly workReversed: _angular_core.Signal<boolean>;
|
|
254
|
+
protected readonly hintProblem: _angular_core.Signal<_slotted_core_date.DateRangeProblem | undefined>;
|
|
255
|
+
/**
|
|
256
|
+
* What the next press should be, or what is wrong: the difference between a
|
|
257
|
+
* panel that refuses and a panel that explains. Empty while the work is
|
|
258
|
+
* whole and valid, when the length says the duration.
|
|
259
|
+
*/
|
|
260
|
+
protected readonly hint: _angular_core.Signal<string>;
|
|
261
|
+
/** The duration a row would make with the other end as it stands, or `null`. */
|
|
262
|
+
protected durationOf(position: TimeRangePickerPosition, option: TimeOption): string | null;
|
|
263
|
+
protected contextFor(position: TimeRangePickerPosition, option: TimeOption, index: number): {
|
|
264
|
+
$implicit: PlainTime;
|
|
265
|
+
current: boolean;
|
|
266
|
+
duration: string | null;
|
|
267
|
+
label: string;
|
|
268
|
+
position: TimeRangePickerPosition;
|
|
269
|
+
selected: boolean;
|
|
270
|
+
unavailable: boolean;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* The pending end: the option under the pointer, or the highlighted option
|
|
274
|
+
* of the list that has focus.
|
|
275
|
+
*/
|
|
276
|
+
protected readonly pending: _angular_core.Signal<{
|
|
277
|
+
position: TimeRangePickerPosition;
|
|
278
|
+
time: PlainTime;
|
|
279
|
+
} | null>;
|
|
280
|
+
protected readonly spokenLength: _angular_core.Signal<string>;
|
|
281
|
+
protected readonly limitText: _angular_core.Signal<string | null>;
|
|
282
|
+
/** The trigger's accessible name: focus returns here when the surface closes. */
|
|
283
|
+
protected readonly triggerLabel: _angular_core.Signal<string>;
|
|
284
|
+
/** The value in words, one line; `null` while nothing is chosen. */
|
|
285
|
+
protected readonly summary: _angular_core.Signal<string | null>;
|
|
286
|
+
constructor();
|
|
287
|
+
ngOnInit(): void;
|
|
288
|
+
writeValue(value: TimeRange | null | undefined): void;
|
|
289
|
+
registerOnChange(fn: (value: TimeRange | null) => void): void;
|
|
290
|
+
registerOnTouched(fn: () => void): void;
|
|
291
|
+
setDisabledState(isDisabled: boolean): void;
|
|
292
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
293
|
+
/**
|
|
294
|
+
* The rules no other validator can see: the bounds, the predicate, the
|
|
295
|
+
* order of the two ends and the duration. `required` is left to Angular's
|
|
296
|
+
* own, because a form already has a word for it.
|
|
297
|
+
*/
|
|
298
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
299
|
+
/** Puts focus on the trigger, which is the frame. */
|
|
300
|
+
focus(): void;
|
|
301
|
+
openSurface(source?: Event): void;
|
|
302
|
+
closeSurface(source?: Event): void;
|
|
303
|
+
/** A preset writes its range through here, with the `select` reason. */
|
|
304
|
+
choose(range: TimeRange, source?: Event): void;
|
|
305
|
+
protected toggle(source: Event): void;
|
|
306
|
+
protected clear(source: Event): void;
|
|
307
|
+
protected onTriggerKeyDown(event: KeyboardEvent): void;
|
|
308
|
+
protected selectTab(position: TimeRangePickerPosition, source: Event): void;
|
|
309
|
+
/** Automatic activation: the arrow moves the position with it. */
|
|
310
|
+
protected onTabKeyDown(event: KeyboardEvent): void;
|
|
311
|
+
/**
|
|
312
|
+
* The way out of a sheet that fills the screen, and of an edit left half
|
|
313
|
+
* way: a whole work is the value; one end alone stays as it is.
|
|
314
|
+
*/
|
|
315
|
+
protected done(source: Event): void;
|
|
316
|
+
protected onControlFocusOut(event: FocusEvent): void;
|
|
317
|
+
protected onListFocusOut(event: FocusEvent): void;
|
|
318
|
+
protected hover(position: TimeRangePickerPosition, option: TimeOption): void;
|
|
319
|
+
/**
|
|
320
|
+
* A field in the band writes its end to the work at every request it emits,
|
|
321
|
+
* with the field's own reason, and an open end is a value on its own.
|
|
322
|
+
*/
|
|
323
|
+
protected onFieldValue(request: TimeFieldChangeRequest): void;
|
|
324
|
+
protected chooseNow(source: Event): void;
|
|
325
|
+
protected select(position: TimeRangePickerPosition, option: TimeOption, source: Event): void;
|
|
326
|
+
/**
|
|
327
|
+
* A press in a list, or on `now`: the end of that list is written to the
|
|
328
|
+
* work. Whole, the work is the value and the panel closes when the press
|
|
329
|
+
* completed it; incomplete, focus carries to the end that is missing.
|
|
330
|
+
*/
|
|
331
|
+
private writeEnd;
|
|
332
|
+
private closeAfter;
|
|
333
|
+
/** Where a list opens: on its end, on the nearest step to now, or on the first available option. */
|
|
334
|
+
private openingIndex;
|
|
335
|
+
/**
|
|
336
|
+
* Into the list of one end: the tab moves there when it is not the current
|
|
337
|
+
* one, and focus lands on its highlight after the render that drew it.
|
|
338
|
+
*/
|
|
339
|
+
private enterList;
|
|
340
|
+
private focusOption;
|
|
341
|
+
/** The list scrolled to its highlight: centred as the surface opens, by the least after. */
|
|
342
|
+
private revealHighlights;
|
|
343
|
+
/** The field, or the list where the field is not drawn (a coarse pointer). */
|
|
344
|
+
private focusField;
|
|
345
|
+
protected onListKeyDown(position: TimeRangePickerPosition, event: KeyboardEvent): void;
|
|
346
|
+
private commit;
|
|
347
|
+
private setPosition;
|
|
348
|
+
private setHighlight;
|
|
349
|
+
private setOpen;
|
|
350
|
+
/** Places the layer and puts it in the single stack. */
|
|
351
|
+
private attach;
|
|
352
|
+
private release;
|
|
353
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTimeRangePicker, never>;
|
|
354
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlTimeRangePicker, "[slTimeRangePicker]", ["slTimeRangePicker"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "defaultPosition": { "alias": "defaultPosition"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "defaultHighlighted": { "alias": "defaultHighlighted"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "isTimeUnavailable": { "alias": "isTimeUnavailable"; "required": false; "isSignal": true; }; "contiguous": { "alias": "contiguous"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "lengthLabel": { "alias": "lengthLabel"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "maxOptions": { "alias": "maxOptions"; "required": false; "isSignal": true; }; "unavailableOptions": { "alias": "unavailableOptions"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; "hourCycle": { "alias": "hourCycle"; "required": false; "isSignal": true; }; "granularity": { "alias": "granularity"; "required": false; "isSignal": true; }; "referenceTime": { "alias": "referenceTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "relative": { "alias": "relative"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "startName": { "alias": "startName"; "required": false; "isSignal": true; }; "endName": { "alias": "endName"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "openChange": "openChange"; "positionChange": "positionChange"; "highlightedChange": "highlightedChange"; }, ["optionTemplate"], ["[slTimeRangePickerPresets]", "[slTimeRangePickerFooter]"], true, never>;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* One shortcut. It writes its range with the `select` reason and carries
|
|
358
|
+
* `data-selected` while the value equals it. The list is the product's — "the
|
|
359
|
+
* morning shift" is a business clock — and the family ships the button, not
|
|
360
|
+
* the list.
|
|
361
|
+
*/
|
|
362
|
+
declare class SlTimeRangePickerPreset {
|
|
363
|
+
/** The range the press writes, or a function resolving it at the press. */
|
|
364
|
+
readonly range: _angular_core.InputSignal<_slotted_core_date.TimeRangeValue | (() => TimeRange)>;
|
|
365
|
+
private readonly picker;
|
|
366
|
+
protected readonly selected: _angular_core.Signal<boolean>;
|
|
367
|
+
protected choose(event: Event): void;
|
|
368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTimeRangePickerPreset, never>;
|
|
369
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTimeRangePickerPreset, "button[slTimeRangePickerPreset]", ["slTimeRangePickerPreset"], { "range": { "alias": "slTimeRangePickerPreset"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* The consumer's own shortcuts, beside the two lists where there is room and
|
|
374
|
+
* above them where there is not. Each one is a `slTimeRangePickerPreset` button.
|
|
375
|
+
*/
|
|
376
|
+
declare class SlTimeRangePickerPresets {
|
|
377
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTimeRangePickerPresets, never>;
|
|
378
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTimeRangePickerPresets, "[slTimeRangePickerPresets]", ["slTimeRangePickerPresets"], {}, {}, never, never, true, never>;
|
|
379
|
+
}
|
|
380
|
+
/** The consumer's own actions, under the two lists. */
|
|
381
|
+
declare class SlTimeRangePickerFooter {
|
|
382
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTimeRangePickerFooter, never>;
|
|
383
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTimeRangePickerFooter, "[slTimeRangePickerFooter]", ["slTimeRangePickerFooter"], {}, {}, never, never, true, never>;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* What one row of a list draws.
|
|
387
|
+
*
|
|
388
|
+
* The row is the family's — its role, its states, its keyboard and its target
|
|
389
|
+
* size — and what is written inside it is the consumer's. It is a template
|
|
390
|
+
* rather than a projected slot because it is re-rendered once per option. The
|
|
391
|
+
* context carries the time as `$implicit`, plus `position`, `label`,
|
|
392
|
+
* `duration`, `selected`, `current` and `unavailable`.
|
|
393
|
+
*/
|
|
394
|
+
declare class SlTimeRangePickerOption {
|
|
395
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTimeRangePickerOption, never>;
|
|
396
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTimeRangePickerOption, "[slTimeRangePickerOption]", ["slTimeRangePickerOption"], {}, {}, never, never, true, never>;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export { SlTimeRangePicker, SlTimeRangePickerFooter, SlTimeRangePickerOption, SlTimeRangePickerPreset, SlTimeRangePickerPresets, TIME_RANGE_PICKER_DEFAULTS, TIME_RANGE_PICKER_MAX_OPTIONS, TIME_RANGE_PICKER_STEP, injectTimeRangePickerDefaults, isSameTimeRange, provideTimeRangePickerDefaults, timeRangePickerLengthLabel };
|
|
400
|
+
export type { TimeRange, TimeRangePickerCloseOnSelect, TimeRangePickerDefaults, TimeRangePickerHighlight, TimeRangePickerHourCycle, TimeRangePickerPlacement, TimeRangePickerPosition, TimeRangePickerSize, TimeRangePickerUnavailableOptions, TimeRangePickerVariant };
|
|
401
|
+
//# sourceMappingURL=slotted-angular-time-range-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-time-range-picker.d.ts","sources":["../../time-range-picker/src/time-range-picker-defaults.ts","../../time-range-picker/src/time-range-picker.ts","../../time-range-picker/src/time-range-picker-parts.ts"],"mappings":";;;;;;;;;;AAIA;AACM,KAAM,SAAS,GAAG,cAAc;AAEtC;AACM,KAAM,wBAAwB;AAGpC;;;;;AAKG;AACG,KAAM,4BAA4B;AAExC;KACY,iCAAiC;AAEvC,KAAM,mBAAmB;AACzB,KAAM,sBAAsB;KACtB,wBAAwB;AAEpC;KACY,uBAAuB;AAEnC;UACiB,wBAAwB;AACvC,oBAAgB,SAAS;AACzB,kBAAc,SAAS;AACxB;AAED;AACA,cAAa,sBAAsB;AACnC;AACA,cAAa,6BAA6B;AAE1C;AACA,iBAAgB,0BAA0B;UAIzB,uBAAuB;mBACvB,4BAA4B;i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